diff options
author | Raymond Hettinger <python@rcn.com> | 2009-05-29 01:46:48 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2009-05-29 01:46:48 (GMT) |
commit | 822b87f276d11cbe0d45f91cbeb9e9abdf231c7e (patch) | |
tree | a8668c007a993d3b660235543a0690c923a498b4 /Misc/NEWS | |
parent | b4d2d3187419c3674b18b04b0208f456440b5c26 (diff) | |
download | cpython-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/NEWS | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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. |