[issue3388] With keyword not mentioned in Input Output tutorial

Florian Mayer report at bugs.python.org
Thu Jul 17 01:10:45 CEST 2008


New submission from Florian Mayer <flormayer at aim.com>:

I think that the Python 3.0 Tutorial should show the reader that the
with keyword is an excellent way of reading data from a file and closing
it afterwards, even if exceptions occur.

----------
assignee: georg.brandl
components: Documentation
files: with_tutorial.patch
keywords: patch
messages: 69854
nosy: georg.brandl, segfaulthunter
severity: normal
status: open
title: With keyword not mentioned in Input Output tutorial
versions: Python 3.0
Added file: http://bugs.python.org/file10920/with_tutorial.patch

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


More information about the Python-bugs-list mailing list