summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-06-21 18:31:55 -0400
committerBrett Cannon <brett@python.org>2013-06-21 18:31:55 -0400
commit29b2f174da2ac5c6fa33b3f2a7836f1c1565351c (patch)
tree6d6f00ca016802303e3558a3af6d4036610483ce /Doc
parent60a95933cb1f43530085511bc8b21813f89e338e (diff)
downloadcpython-git-29b2f174da2ac5c6fa33b3f2a7836f1c1565351c.tar.gz
Issue #18278: properly document how the loaders are called for FileFinder
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/importlib.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
index 51a0a28342..efd027b316 100644
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -697,6 +697,8 @@ find and load modules.
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