summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2008-12-03 15:24:50 (GMT)
committerGuido van Rossum <guido@python.org>2008-12-03 15:24:50 (GMT)
commit815427c481fbef0f9110f4e3d3e4c2d9eebd64cd (patch)
tree32b4025be59fe84bf31bca248e4a3161c731917a /Doc
parentab4c51c2b333cc829b3186080e98e13dba4a48b3 (diff)
downloadcpython-815427c481fbef0f9110f4e3d3e4c2d9eebd64cd.zip
cpython-815427c481fbef0f9110f4e3d3e4c2d9eebd64cd.tar.gz
cpython-815427c481fbef0f9110f4e3d3e4c2d9eebd64cd.tar.bz2
Remove remark about NaN==NaN, I misunderstood that issue.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.0.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.0.rst b/Doc/whatsnew/3.0.rst
index a2afb32..169c876 100644
--- a/Doc/whatsnew/3.0.rst
+++ b/Doc/whatsnew/3.0.rst
@@ -182,8 +182,7 @@ Python 3.0 has simplified the rules for ordering comparisons:
no longer makes sense -- all the elements must be comparable to each
other. Note that this does not apply to the ``==`` and ``!=``
operators: objects of different incomparable types always compare
- unequal to each other, and an object always compares equal to itself
- (i.e., ``x is y`` implies ``x == y``; this is true even for *NaN*).
+ unequal to each other.
* :meth:`builtin.sorted` and :meth:`list.sort` no longer accept the
*cmp* argument providing a comparison function. Use the *key*