summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-07-29 19:28:49 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-07-29 19:28:49 (GMT)
commit66b14de7bbea8659fb8344d250662eae5ed9d820 (patch)
tree6dc1cc0bf1984c2ff893887e0754508171976c3c /Doc
parentff5f16e4e55b53e2e00cbdcd9c77e08bde06812f (diff)
downloadcpython-66b14de7bbea8659fb8344d250662eae5ed9d820.zip
cpython-66b14de7bbea8659fb8344d250662eae5ed9d820.tar.gz
cpython-66b14de7bbea8659fb8344d250662eae5ed9d820.tar.bz2
the from __future__ import with_statement isn't needed in 2.6
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/stdtypes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 41d87e4..6802f30 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -2039,7 +2039,7 @@ Files have the following methods:
the :keyword:`with` statement. For example, the following code will
automatically close *f* when the :keyword:`with` block is exited::
- from __future__ import with_statement
+ from __future__ import with_statement # This isn't required in Python 2.6
with open("hello.txt") as f:
for line in f: