From: Éric Araujo Date: Sat, 10 Sep 2011 22:43:20 +0000 (+0200) Subject: Wrap pydoc output under 80 characters X-Git-Tag: v3.3.0a1~1543^2^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=647ef8cd68e97bf7ae2b7bc546e1fc2ce6a2988d;p=python Wrap pydoc output under 80 characters --- diff --git a/Lib/pydoc.py b/Lib/pydoc.py index 8e2e47bd15..1a5db1a66f 100755 --- a/Lib/pydoc.py +++ b/Lib/pydoc.py @@ -1044,10 +1044,11 @@ class TextDoc(Doc): 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: