Commit 29b2f174 authored by Brett Cannon's avatar Brett Cannon

Issue #18278: properly document how the loaders are called for FileFinder

parent 60a95933
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment