[Python-checkins] cpython: Docstring cleanup

brett.cannon python-checkins at python.org
Sat Jun 1 00:57:57 CEST 2013


http://hg.python.org/cpython/rev/42a3d182d906
changeset:   84000:42a3d182d906
user:        Brett Cannon <brett at python.org>
date:        Fri May 31 18:39:07 2013 -0400
summary:
  Docstring cleanup

files:
  Lib/importlib/abc.py |  5 +++--
  1 files changed, 3 insertions(+), 2 deletions(-)


diff --git a/Lib/importlib/abc.py b/Lib/importlib/abc.py
--- a/Lib/importlib/abc.py
+++ b/Lib/importlib/abc.py
@@ -71,7 +71,7 @@
         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 @@
     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
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list