summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-05-29 01:46:48 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-05-29 01:46:48 (GMT)
commit822b87f276d11cbe0d45f91cbeb9e9abdf231c7e (patch)
treea8668c007a993d3b660235543a0690c923a498b4 /Doc/library
parentb4d2d3187419c3674b18b04b0208f456440b5c26 (diff)
downloadcpython-822b87f276d11cbe0d45f91cbeb9e9abdf231c7e.zip
cpython-822b87f276d11cbe0d45f91cbeb9e9abdf231c7e.tar.gz
cpython-822b87f276d11cbe0d45f91cbeb9e9abdf231c7e.tar.bz2
Deprecate contextlib.nested(). The with-statement now provides this functionality directly.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/contextlib.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/contextlib.rst b/Doc/library/contextlib.rst
index 935afee..9204758 100644
--- a/Doc/library/contextlib.rst
+++ b/Doc/library/contextlib.rst
@@ -83,6 +83,8 @@ Functions provided:
:meth:`__exit__` methods should avoid raising exceptions, and in particular they
should not re-raise a passed-in exception.
+ .. deprecated:: 2.7
+ The with-statement now supports this functionality directly.
.. function:: closing(thing)