Kaydet (Commit) 83ac0133 authored tarafından Brett Cannon's avatar Brett Cannon

Clarify importlib.machinery.PathFinder's difference from what __import__() does.

üst 75321e83
...@@ -477,7 +477,9 @@ find and load modules. ...@@ -477,7 +477,9 @@ find and load modules.
This class does not perfectly mirror the semantics of :keyword:`import` in This class does not perfectly mirror the semantics of :keyword:`import` in
terms of :data:`sys.path`. No implicit path hooks are assumed for 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 Only class methods are defined by this class to alleviate the need for
instantiation. instantiation.
......
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