diff options
author | Brett Cannon <bcannon@gmail.com> | 2007-02-26 22:01:14 +0000 |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2007-02-26 22:01:14 +0000 |
commit | 39590469030b05f976bc1265f1598bd469c14449 (patch) | |
tree | def4a15c94ab7fcb826e60f328066e5a924ea886 /Misc | |
parent | The raw_input name was removed, but the implementation was moved to input. (diff) | |
download | cpython-39590469030b05f976bc1265f1598bd469c14449.tar.gz cpython-39590469030b05f976bc1265f1598bd469c14449.tar.bz2 cpython-39590469030b05f976bc1265f1598bd469c14449.zip |
Make it so TypeError is raised if an instance of an object is put in an
'except' clause. Also refactor some code to help keep Neal Norwitz happy.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS index 4eb2f47b905..8ffbe450003 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -32,7 +32,7 @@ Core and Builtins functionality formerly known as raw_input(); the name raw_input() is no longer defined. -- Objects listed in an 'except' clause must inherit from BaseException. +- Classes listed in an 'except' clause must inherit from BaseException. - PEP 3106: dict.iterkeys(), .iteritems(), .itervalues() are now gone; and .keys(), .items(), .values() return dict views. |