Suggestions by Nick on import-sig.

This commit is contained in:
Eric V. Smith 2012-05-11 12:46:44 -04:00
parent 329e389a0b
commit 57f945902a
1 changed files with 2 additions and 2 deletions

View File

@ -173,13 +173,13 @@ meaning as for ``find_module``. ``find_loader`` always returns a
be None, in which case ``<iterable-of-path-entries>`` (which may be
empty) is added to the list of recorded path entries and path
searching continues. If ``loader`` is not None, it is immediately
used to load the regular package.
used to load a module or regular package.
Note that multiple path entries per finder are allowed. This is to
support the case where a finder discovers multiple namespace portions
for a given ``fullname``. Many finders will support only a single
namespace package portion per ``find_loader`` call, in which case this
iterable will be a list containing only a single string.
iterable will contain only a single string.
The import machinery will call ``find_loader`` if it exists, else fall
back to ``find_module``. Legacy finders which implement