summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2013-04-19 15:32:54 (GMT)
committerBarry Warsaw <barry@python.org>2013-04-19 15:32:54 (GMT)
commit24aa15959b0f8b540dc4c2eacf31755e506ab3b5 (patch)
treecaf0c4e37de30a2cebe86ba0774c35cbc0360e98
parent03a0c275698c598f49d19708d62ddbc8e02d639e (diff)
parent0aa685a33c49ebb731c565348355b6c9a756b831 (diff)
downloadcpython-24aa15959b0f8b540dc4c2eacf31755e506ab3b5.zip
cpython-24aa15959b0f8b540dc4c2eacf31755e506ab3b5.tar.gz
cpython-24aa15959b0f8b540dc4c2eacf31755e506ab3b5.tar.bz2
Merge 3.3
-rw-r--r--Doc/library/contextlib.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/contextlib.rst b/Doc/library/contextlib.rst
index f18c100..86c3ab0 100644
--- a/Doc/library/contextlib.rst
+++ b/Doc/library/contextlib.rst
@@ -279,7 +279,7 @@ Functions and classes provided:
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.