diff options
author | Collin Winter <collinw@gmail.com> | 2007-05-18 23:11:24 (GMT) |
---|---|---|
committer | Collin Winter <collinw@gmail.com> | 2007-05-18 23:11:24 (GMT) |
commit | 6290305e6722c20e17d3c73bd6a30c6448bead83 (patch) | |
tree | fc3cc9d13179cb407116ebac000400c9c294140a /Misc | |
parent | 6eb7bede72f044b0b6a73551c04281defc7fc489 (diff) | |
download | cpython-6290305e6722c20e17d3c73bd6a30c6448bead83.zip cpython-6290305e6722c20e17d3c73bd6a30c6448bead83.tar.gz cpython-6290305e6722c20e17d3c73bd6a30c6448bead83.tar.bz2 |
Backport PEP 3110's new 'except' syntax to 2.6.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -12,6 +12,10 @@ What's New in Python 2.6 alpha 1? Core and builtins ----------------- +- except clauses may now be spelled either "except E, target:" or + "except E as target:". This is to provide forwards compatibility with + Python 3.0. + - Deprecate BaseException.message as per PEP 352. - Bug #1303614: don't expose object's __dict__ when the dict is |