]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Make separate section for deprecations in 2.7 whatsnew.
authorGeorg Brandl <georg@python.org>
Wed, 18 Nov 2009 18:52:35 +0000 (18:52 +0000)
committerGeorg Brandl <georg@python.org>
Wed, 18 Nov 2009 18:52:35 +0000 (18:52 +0000)
Doc/whatsnew/2.7.rst

index f611e05a8d52c8501d8818dff5163ec3f5a22e6d..dd6e1d7105e85d28745c20c4713633eaf455a448 100644 (file)
@@ -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.
+
 .. ======================================================================