[issue8973] Inconsistent docstrings in struct module

Alexander Belopolsky report at bugs.python.org
Fri Jun 11 17:41:39 CEST 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

Two more bits:

1. "See struct.__doc__", while technically correct, is not user friendly.  If you copy struct.__doc__ to >>> prompt, you get an ugly repr of a multiline string.  I suggest s/struct.__doc__/help(struct)/.

2.  For some reason struct.Struct does not show up in help(struct).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8973>
_______________________________________


More information about the Python-bugs-list mailing list