]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix a weird use of try/finally to close a file.
authorGuido van Rossum <guido@python.org>
Mon, 16 Jul 2007 19:42:05 +0000 (19:42 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 16 Jul 2007 19:42:05 +0000 (19:42 +0000)
commit456fe5d3cafc065b919fd4e8ba939c666f420dfa
tree9a0b84bba67157e3f37c56143687d5e2fa8e6df1
parentb358a2c4233f0e8c3cc58b86ed84007cc16ea74d
Fix a weird use of try/finally to close a file.
(There are more places that don't close 'f' at all if an error occurs,
but none have a bogus try/finally pattern.)
Lib/test/test_mmap.py