[Python-checkins] cpython (3.2): Wrap pydoc output under 80 characters

eric.araujo python-checkins at python.org
Mon Sep 12 17:42:23 CEST 2011


http://hg.python.org/cpython/rev/28ad3ef7301b
changeset:   72357:28ad3ef7301b
branch:      3.2
parent:      72347:e5c1de856828
user:        Éric Araujo <merwok at netwok.org>
date:        Sun Sep 11 00:43:20 2011 +0200
summary:
  Wrap pydoc output under 80 characters

files:
  Lib/pydoc.py |  9 +++++----
  1 files changed, 5 insertions(+), 4 deletions(-)


diff --git a/Lib/pydoc.py b/Lib/pydoc.py
--- a/Lib/pydoc.py
+++ b/Lib/pydoc.py
@@ -1044,10 +1044,11 @@
         if docloc is not None:
             result = result + self.section('MODULE REFERENCE', docloc + """
 
-The following documentation is automatically generated from the Python source
-files.  It may be incomplete, incorrect or include features that are considered
-implementation detail and may vary between Python implementations.  When in
-doubt, consult the module reference at the location listed above.
+The following documentation is automatically generated from the Python
+source files.  It may be incomplete, incorrect or include features that
+are considered implementation detail and may vary between Python
+implementations.  When in doubt, consult the module reference at the
+location listed above.
 """)
 
         if desc:

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


More information about the Python-checkins mailing list