summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-05-29 01:46:48 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-05-29 01:46:48 (GMT)
commit822b87f276d11cbe0d45f91cbeb9e9abdf231c7e (patch)
treea8668c007a993d3b660235543a0690c923a498b4 /Misc/NEWS
parentb4d2d3187419c3674b18b04b0208f456440b5c26 (diff)
downloadcpython-822b87f276d11cbe0d45f91cbeb9e9abdf231c7e.zip
cpython-822b87f276d11cbe0d45f91cbeb9e9abdf231c7e.tar.gz
cpython-822b87f276d11cbe0d45f91cbeb9e9abdf231c7e.tar.bz2
Deprecate contextlib.nested(). The with-statement now provides this functionality directly.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS3
1 files changed, 2 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index e622cb4..13be5e7 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,7 +12,8 @@ What's New in Python 2.7 alpha 1
Core and Builtins
-----------------
-- Added support for multiple context managers in the same with statement.
+- Added support for multiple context managers in the same with-statement.
+ Deprecated contextlib.nested() which is no longer needed.
- Issue #6101: A new opcode, SETUP_WITH, has been added to speed up the with
statement and correctly lookup the __enter__ and __exit__ special methods.