[Python-checkins] cpython (merge 3.3 -> default): Merge 3.3
barry.warsaw
python-checkins at python.org
Fri Apr 19 17:33:25 CEST 2013
http://hg.python.org/cpython/rev/c52d692d9176
changeset: 83454:c52d692d9176
parent: 83452:937ba7bb2285
parent: 83453:45e5b4df4e3e
user: Barry Warsaw <barry at python.org>
date: Fri Apr 19 11:32:54 2013 -0400
summary:
Merge 3.3
files:
Doc/library/contextlib.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/contextlib.rst b/Doc/library/contextlib.rst
--- a/Doc/library/contextlib.rst
+++ b/Doc/library/contextlib.rst
@@ -279,7 +279,7 @@
with ExitStack() as stack:
files = [stack.enter_context(open(fname)) for fname in filenames]
- close_files = stack.pop_all().close
+ close_files = stack.pop_all().close()
# If opening any file fails, all previously opened files will be
# closed automatically. If all files are opened successfully,
# they will remain open even after the with statement ends.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list