summaryrefslogtreecommitdiff
path: root/Lib/importlib/abc.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-05-31 18:39:07 -0400
committerBrett Cannon <brett@python.org>2013-05-31 18:39:07 -0400
commitf1d7b11db905db5b40e2d97fa21af06871cf89ff (patch)
tree6b9220d4ec48adb143fc19b2183e7dc226b32f02 /Lib/importlib/abc.py
parentc29cb418224a5f293578628827fbc8a6324de2e0 (diff)
downloadcpython-git-f1d7b11db905db5b40e2d97fa21af06871cf89ff.tar.gz
Docstring cleanup
Diffstat (limited to 'Lib/importlib/abc.py')
-rw-r--r--Lib/importlib/abc.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/importlib/abc.py b/Lib/importlib/abc.py
index b45e7d6572..897f343569 100644
--- a/Lib/importlib/abc.py
+++ b/Lib/importlib/abc.py
@@ -71,7 +71,7 @@ class PathEntryFinder(Finder):
a possible part of a namespace.
The fullname is a str. Returns a 2-tuple of (Loader, portion) where
portion is a sequence of file system locations contributing to part of
- a namespace package. The sequence may be empty and the loader may be
+ a namespace package. The sequence may be empty and the loader may be
None.
"""
return None, []
@@ -108,7 +108,8 @@ class Loader(metaclass=abc.ABCMeta):
def module_repr(self, module):
"""Return a module's repr.
- Used by the module type when implemented without raising an exception.
+ Used by the module type when the method does not raise
+ NotImplementedError.
"""
raise NotImplementedError