[issue10461] Use with statement throughout the docs

Eli Bendersky report at bugs.python.org
Sat Nov 20 14:54:15 CET 2010


Eli Bendersky <eliben at gmail.com> added the comment:

I'm trying to port the example in tutorial/stdlib2.rst, but the sample in "working with binary data record layouts" fails (before my porting to 'with'...)

  struct.error: unpack requires a bytes argument of length 16

----------

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


More information about the Python-bugs-list mailing list