◐ Shell
clean mode source ↗

Message 107658 - Python tracker

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,


 |  __init__(...)
 |      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).