[Python-checkins] peps: Suggestions by Nick on import-sig.
eric.smith
python-checkins at python.org
Fri May 11 18:46:53 CEST 2012
http://hg.python.org/peps/rev/60474bd2a1fe
changeset: 4368:60474bd2a1fe
user: Eric V. Smith <eric at trueblade.com>
date: Fri May 11 12:46:44 2012 -0400
summary:
Suggestions by Nick on import-sig.
files:
pep-0420.txt | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pep-0420.txt b/pep-0420.txt
--- a/pep-0420.txt
+++ b/pep-0420.txt
@@ -173,13 +173,13 @@
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
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list