summaryrefslogtreecommitdiffstats
path: root/Lib/pkgutil.py
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2016-09-06 00:16:06 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2016-09-06 00:16:06 (GMT)
commit56b4872ff5cb1eef8fcef61db3b9b36f7acc5f1e (patch)
tree6e1349c0f149df8914fb94182c41b18138ce000a /Lib/pkgutil.py
parent63604032af6a0c0e869d8783f850e2418306a605 (diff)
parent4672060d86722e7daf946220812613938c54a5eb (diff)
downloadcpython-56b4872ff5cb1eef8fcef61db3b9b36f7acc5f1e.zip
cpython-56b4872ff5cb1eef8fcef61db3b9b36f7acc5f1e.tar.gz
cpython-56b4872ff5cb1eef8fcef61db3b9b36f7acc5f1e.tar.bz2
[merge from 3.5] - Update pkgutil docs to reference appropriate finder and loader object documentation.
Initial patch contributed by Jaysinh shukla.
Diffstat (limited to 'Lib/pkgutil.py')
-rw-r--r--Lib/pkgutil.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/pkgutil.py b/Lib/pkgutil.py
index 15b3ae1..7fc356c 100644
--- a/Lib/pkgutil.py
+++ b/Lib/pkgutil.py
@@ -395,7 +395,7 @@ except ImportError:
def get_importer(path_item):
- """Retrieve a PEP 302 finder for the given path item
+ """Retrieve a finder for the given path item
The returned finder is cached in sys.path_importer_cache
if it was newly created by a path hook.
@@ -419,7 +419,7 @@ def get_importer(path_item):
def iter_importers(fullname=""):
- """Yield PEP 302 finders for the given module name
+ """Yield finders for the given module name
If fullname contains a '.', the finders will be for the package
containing fullname, otherwise they will be all registered top level
@@ -448,7 +448,7 @@ def iter_importers(fullname=""):
def get_loader(module_or_name):
- """Get a PEP 302 "loader" object for module_or_name
+ """Get a "loader" object for module_or_name
Returns None if the module cannot be found or imported.
If the named module is not already imported, its containing package
@@ -472,7 +472,7 @@ def get_loader(module_or_name):
def find_loader(fullname):
- """Find a PEP 302 "loader" object for fullname
+ """Find a "loader" object for fullname
This is a backwards compatibility wrapper around
importlib.util.find_spec that converts most failures to ImportError