diff options
author | Georg Brandl <georg@python.org> | 2009-11-18 18:53:14 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-11-18 18:53:14 (GMT) |
commit | 4d131ee246be291b71950074b8f68976ad44bf4e (patch) | |
tree | 5aba3ecbd012209d13a64ce17f02049aec2f9bb5 /Doc/whatsnew | |
parent | 16eb0fbbd015de7b0116d984a08df8d05ef90e17 (diff) | |
download | cpython-4d131ee246be291b71950074b8f68976ad44bf4e.zip cpython-4d131ee246be291b71950074b8f68976ad44bf4e.tar.gz cpython-4d131ee246be291b71950074b8f68976ad44bf4e.tar.bz2 |
Merged revisions 76367 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76367 | georg.brandl | 2009-11-18 18:52:35 +0000 (Mi, 18 Nov 2009) | 1 line
Make separate section for deprecations in 2.7 whatsnew.
........
Diffstat (limited to 'Doc/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 622da3e..bacf729 100644 --- a/Doc/whatsnew/2.7.rst +++ b/Doc/whatsnew/2.7.rst @@ -229,8 +229,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 @@ -590,6 +590,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. + .. ====================================================================== |