diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-07-31 21:10:28 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-07-31 21:10:28 (GMT) |
commit | a986dfa927017d23c73c703ba848bd86b4424437 (patch) | |
tree | bb98cec9a30699a763fc72063a21500c3a51bb55 /Doc/library/stdtypes.rst | |
parent | d18de0e28b843e5edee3a9ea1eaa02569a201774 (diff) | |
download | cpython-a986dfa927017d23c73c703ba848bd86b4424437.zip cpython-a986dfa927017d23c73c703ba848bd86b4424437.tar.gz cpython-a986dfa927017d23c73c703ba848bd86b4424437.tar.bz2 |
Merged revisions 65293 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65293 | benjamin.peterson | 2008-07-29 14:28:49 -0500 (Tue, 29 Jul 2008) | 1 line
the from __future__ import with_statement isn't needed in 2.6
........
Diffstat (limited to 'Doc/library/stdtypes.rst')
-rw-r--r-- | Doc/library/stdtypes.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 47bf42c..6c7c5b0 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -2009,7 +2009,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: |