[docs] [issue10461] Use with statement throughout the docs
report at bugs.python.org
Fri Nov 19 17:05:04 CET 2010
New submission from Éric Araujo <merwok at netwok.org>:
The docs contain numerous examples that would trigger resource warnings under 3.2 (for example “open(...).read()”). They should be changed to use (and thus promote) the with statement.
Not adding the “easy” keyword, since grepping for those things is not easy.
Not sure we’ll backport that to 3.1 and 2.7.
assignee: docs at python
nosy: docs at python, eric.araujo
stage: needs patch
title: Use with statement throughout the docs
versions: Python 3.2
Python tracker <report at bugs.python.org>
More information about the docs