[issue16349] Document whether it's safe to use bytes for struct format string

Martin Panter report at bugs.python.org
Tue Dec 16 23:34:55 CET 2014


Martin Panter added the comment:

Actually the “struct” module doc string seems to already hint that format strings can be byte strings:

“Python bytes objects are used to hold the data representing the C struct and also as format strings . . .”

----------

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


More information about the Python-bugs-list mailing list