summaryrefslogtreecommitdiffstats
path: root/Doc/library/contextlib.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-01-05 19:28:16 (GMT)
committerGeorg Brandl <georg@python.org>2008-01-05 19:28:16 (GMT)
commit9749e15e2ff9fffd987679cc3914c726af8876b3 (patch)
treeacbbdcd3e421ab18ff2f8766574806d0f5e02d03 /Doc/library/contextlib.rst
parent9fcd8ceb74fec0b596ca266868d28955fa251ff1 (diff)
downloadcpython-9749e15e2ff9fffd987679cc3914c726af8876b3.zip
cpython-9749e15e2ff9fffd987679cc3914c726af8876b3.tar.gz
cpython-9749e15e2ff9fffd987679cc3914c726af8876b3.tar.bz2
Remove with_statement future imports from 2.6 docs.
Diffstat (limited to 'Doc/library/contextlib.rst')
-rw-r--r--Doc/library/contextlib.rst2
1 files changed, 0 insertions, 2 deletions
diff --git a/Doc/library/contextlib.rst b/Doc/library/contextlib.rst
index 11af432..8c10c95 100644
--- a/Doc/library/contextlib.rst
+++ b/Doc/library/contextlib.rst
@@ -23,7 +23,6 @@ Functions provided:
A simple example (this is not recommended as a real way of generating HTML!)::
- from __future__ import with_statement
from contextlib import contextmanager
@contextmanager
@@ -100,7 +99,6 @@ Functions provided:
And lets you write code like this::
- from __future__ import with_statement
from contextlib import closing
import urllib