[docs] [issue26535] Minor typo in the docs for struct.unpack
Antony Lee
report at bugs.python.org
Fri Mar 11 02:36:31 EST 2016
Antony Lee added the comment:
I think mentioning calcsize is still helpful, so perhaps something like
"The buffer must contain exactly as many bytes (I think this is clearer than "the amount of data") as required by the format (this number can be obtained as `struct.calcsize(fmt)`)"? (and likewise for "unpack_from" and "iter_unpack").
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26535>
_______________________________________
More information about the docs
mailing list