[issue9739] Output of help(...) is wider than 80 characters

Case Van Horsen report at bugs.python.org
Sun Sep 5 18:47:39 CEST 2010

Case Van Horsen <casevh at gmail.com> added the comment:

I edited the doc string for math.modf since an indent of 8 spaces is used for the doc string with help(math). An indent of 4 spaces is used with help(math.modf).

I've attached a new patch for just the math module that includes the return type as part of signature line, corrects the width issues, and uses a consistent format for defining the doc strings.

Added file: http://bugs.python.org/file18761/math_docstring.diff

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list