diff options
author | Georg Brandl <georg@python.org> | 2009-11-18 18:52:35 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-11-18 18:52:35 (GMT) |
commit | 0516f8138643ca49a6e5fd56e0aa546829465a37 (patch) | |
tree | 8d12bc99e1bbf27c2558092864f1ffb367096d2c | |
parent | a17f60242f849cdd4b1bc994792f3e0db96ed1bc (diff) | |
download | cpython-0516f8138643ca49a6e5fd56e0aa546829465a37.zip cpython-0516f8138643ca49a6e5fd56e0aa546829465a37.tar.gz cpython-0516f8138643ca49a6e5fd56e0aa546829465a37.tar.bz2 |
Make separate section for deprecations in 2.7 whatsnew.
-rw-r--r-- | Doc/whatsnew/2.7.rst | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Doc/whatsnew/2.7.rst b/Doc/whatsnew/2.7.rst index f611e05..dd6e1d7 100644 --- a/Doc/whatsnew/2.7.rst +++ b/Doc/whatsnew/2.7.rst @@ -413,8 +413,8 @@ Several performance enhancements have been added: .. ====================================================================== -New, Improved, and Deprecated Modules -===================================== +New and Improved Modules +======================== As in every release, Python's standard library received a number of enhancements and bug fixes. Here's a partial list of the most notable @@ -891,6 +891,14 @@ Martin Franklin and maintained by Kevin Walzer, was proposed for inclusion in :issue:`2618`, but the authors argued that Guilherme Polo's work was more comprehensive. + +Deprecations and Removals +========================= + +* :func:`contextlib.nested`, which allows handling more than one context manager + with one :keyword:`with` statement, has been deprecated; :keyword:`with` + supports multiple context managers syntactically now. + .. ====================================================================== |