diff options
author | Brett Cannon <brett@python.org> | 2013-06-21 22:37:02 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2013-06-21 22:37:02 (GMT) |
commit | 27bc441f5e91705c591495d98fa58ebf824817b1 (patch) | |
tree | 909904a804e1d0b64da6e18632bade7b57e99970 /Doc | |
parent | f1913ca37f65190cc6f48d9a9404453a131c124a (diff) | |
parent | 29b2f174da2ac5c6fa33b3f2a7836f1c1565351c (diff) | |
download | cpython-27bc441f5e91705c591495d98fa58ebf824817b1.zip cpython-27bc441f5e91705c591495d98fa58ebf824817b1.tar.gz cpython-27bc441f5e91705c591495d98fa58ebf824817b1.tar.bz2 |
merge for issue #18278
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/importlib.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst index 8272efe..1c0eff7 100644 --- a/Doc/library/importlib.rst +++ b/Doc/library/importlib.rst @@ -733,6 +733,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 |