diff options
author | Raymond Hettinger <python@rcn.com> | 2009-05-28 22:20:03 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2009-05-28 22:20:03 (GMT) |
commit | 91e3b9d89d6a63149dcd9ab12223f552d1473aab (patch) | |
tree | 2d3035aaa19b15a2d5cd437a52905f66698a8c8f /Doc/library/contextlib.rst | |
parent | fb12391c44d9491e2d1635eb5f82af3b0da0ec29 (diff) | |
download | cpython-91e3b9d89d6a63149dcd9ab12223f552d1473aab.zip cpython-91e3b9d89d6a63149dcd9ab12223f552d1473aab.tar.gz cpython-91e3b9d89d6a63149dcd9ab12223f552d1473aab.tar.bz2 |
Deprecate contextlib.nested(). The with-statement now provides this functionality directly.
Diffstat (limited to 'Doc/library/contextlib.rst')
-rw-r--r-- | Doc/library/contextlib.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/contextlib.rst b/Doc/library/contextlib.rst index d6ce9a7..7403a35 100644 --- a/Doc/library/contextlib.rst +++ b/Doc/library/contextlib.rst @@ -80,6 +80,8 @@ Functions provided: :meth:`__exit__` methods should avoid raising exceptions, and in particular they should not re-raise a passed-in exception. + .. deprecated:: 3.1 + The with-statement now supports this functionality directly. .. function:: closing(thing) |