[Python-checkins] r76367 - python/trunk/Doc/whatsnew/2.7.rst

georg.brandl python-checkins at python.org
Wed Nov 18 19:52:35 CET 2009


Author: georg.brandl
Date: Wed Nov 18 19:52:35 2009
New Revision: 76367

Log:
Make separate section for deprecations in 2.7 whatsnew.

Modified:
   python/trunk/Doc/whatsnew/2.7.rst

Modified: python/trunk/Doc/whatsnew/2.7.rst
==============================================================================
--- python/trunk/Doc/whatsnew/2.7.rst	(original)
+++ python/trunk/Doc/whatsnew/2.7.rst	Wed Nov 18 19:52:35 2009
@@ -413,8 +413,8 @@
 
 .. ======================================================================
 
-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 @@
 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.
+
 .. ======================================================================
 
 


More information about the Python-checkins mailing list