[docs] [issue10461] Use with statement throughout the docs
report at bugs.python.org
Sat Nov 20 15:31:57 CET 2010
SilentGhost <michael.mischurow+bpo at gmail.com> added the comment:
patch for Doc/library/logging.rst
Also, note the the change of the mode from `'r'` to `'rb'`. `data_to_send` is further send through socket and therefore requires to be bytes.
I expressed my opinion in irc, but I can repeat here that I think only the most trivial code such as in Doc/library/pipes.rst isn't worth converting.
Added file: http://bugs.python.org/file19671/logging.rst.diff
Python tracker <report at bugs.python.org>
More information about the docs