summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-05-29 01:46:48 +0000
committerRaymond Hettinger <python@rcn.com>2009-05-29 01:46:48 +0000
commit92fed494f1d44e15e3824055003170f7e3c63b93 (patch)
treec4d11f1718c50a51c03902dec7816bbe352b8c3a /Doc
parentd88740f46e34ae9b7eac1ce24bc327fc88bf35e5 (diff)
downloadcpython-92fed494f1d44e15e3824055003170f7e3c63b93.tar.gz
Deprecate contextlib.nested(). The with-statement now provides this functionality directly.
Diffstat (limited to 'Doc')
-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 935afeeba9..920475808b 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)