diff options
author | Brett Cannon <brett@python.org> | 2012-03-02 17:10:48 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2012-03-02 17:10:48 (GMT) |
commit | 83ac0133bd4841d36a41000753dd77e796747f7f (patch) | |
tree | 950376ab79b7d7bf5ac19d38c032a1713498ca7d /Doc | |
parent | 75321e83798f27a2da7921ec630b1ad3f5791ace (diff) | |
download | cpython-83ac0133bd4841d36a41000753dd77e796747f7f.zip cpython-83ac0133bd4841d36a41000753dd77e796747f7f.tar.gz cpython-83ac0133bd4841d36a41000753dd77e796747f7f.tar.bz2 |
Clarify importlib.machinery.PathFinder's difference from what __import__() does.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/importlib.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst index 66a5c4e..e5cc27f 100644 --- a/Doc/library/importlib.rst +++ b/Doc/library/importlib.rst @@ -477,7 +477,9 @@ find and load modules. This class does not perfectly mirror the semantics of :keyword:`import` in terms of :data:`sys.path`. No implicit path hooks are assumed for - simplification of the class and its semantics. + simplification of the class and its semantics. This implies that when + ``None`` is found in :data:`sys.path_importer_cache` that it is simply + ignored instead of implying a default finder. Only class methods are defined by this class to alleviate the need for instantiation. |