[issue8973] Inconsistent docstrings in struct module
report at bugs.python.org
Sat Jun 12 17:18:05 CEST 2010
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
calcsize() still does not have signature in docstring.
A nit: maybe follow calcsize() lead and say "format string fmt" rather than just "fmt".
One more __doc__ mention: in Struct docstring,
| x.__init__(...) initializes x; see x.__class__.__doc__ for signature
I think this is inherited, but quite confusing here because help(Struct) does not have signature. Maybe just add signature to help(Struct).
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list