[issue10461] Use with statement throughout the docs

Éric Araujo report at bugs.python.org
Mon Nov 22 03:21:42 CET 2010


Éric Araujo <merwok at netwok.org> added the comment:

Raymond: I made a single diff for easier review.  I’m not 100% sure I should change 'r' to 'rb' in logging: It’s unrelated to with, and the rest of the file has not been checked for similar errors.  I prefer to do commits that don’t mix things.

Eli:
> which whitespace change do you refer to. I changed to 4-spaces
> indentation in the code sample to conform to PEP-8. Shouldn't I have?
PEP 8 only applies to Python code.  http://docs.python.org/dev/documenting/style applies to the docs.

----------
Added file: http://bugs.python.org/file19765/with-in-docs-1.diff

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


More information about the Python-bugs-list mailing list