From 83ac0133bd4841d36a41000753dd77e796747f7f Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Fri, 2 Mar 2012 12:10:48 -0500 Subject: Clarify importlib.machinery.PathFinder's difference from what __import__() does. --- Doc/library/importlib.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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. -- cgit v0.12