summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library')
-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 51a0a28..efd027b 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