summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library')
-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 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: