[Python-checkins] cpython (merge 3.3 -> default): merge for issue #18278

brett.cannon python-checkins at python.org
Sat Jun 22 00:37:12 CEST 2013

changeset:   84247:a089a8b1f93d
parent:      84245:942a7061e8ad
parent:      84246:6978d7a6692a
user:        Brett Cannon <brett at python.org>
date:        Fri Jun 21 18:37:02 2013 -0400
  merge for issue #18278

  Doc/library/importlib.rst |  2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -733,6 +733,8 @@
    The *loader_details* argument is a variable number of 2-item tuples each
    containing a loader and a sequence of file suffixes the loader recognizes.
+   The loaders are expected to be callables which accept two arguments of
+   the module's name and the path to the file found.
    The finder will cache the directory contents as necessary, making stat calls
    for each module search to verify the cache is not outdated. Because cache

Repository URL: http://hg.python.org/cpython

More information about the Python-checkins mailing list