commit | e27dc7230845aa341d9a0bf323fa14912713cf33 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Mar 27 22:37:34 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Mar 27 22:37:34 2007 +0000 |
tree | 80e5451f5dac1bc5ac01ee3b70eaf9aff0461f31 | |
parent | a4335b1e6bc357fb6a3d54298e74a1d957028bc3 [diff] [blame] |
By default, != returns the opposite of ==, unless the latter returns NotImplemented. (Is this worth backporting to 2.6? It seems so useful...!)
diff --git a/Misc/NEWS b/Misc/NEWS index c2699ec..4f647d2 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -28,6 +28,9 @@ Core and Builtins ----------------- +- By default, != returns the opposite of ==, unless the latter returns + NotImplemented. + - Patch #1680961: sys.exitfunc has been removed and replaced with a private C-level API.