]> granicus.if.org Git - python/commitdiff
Docstring cleanup
authorBrett Cannon <brett@python.org>
Fri, 31 May 2013 22:39:07 +0000 (18:39 -0400)
committerBrett Cannon <brett@python.org>
Fri, 31 May 2013 22:39:07 +0000 (18:39 -0400)
Lib/importlib/abc.py

index b45e7d657222def4323c77f8fe30f3f5cb018740..897f34356901d1f8b90a6799cdc95ecec331aa61 100644 (file)
@@ -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