Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab4c51c commit 815427cCopy full SHA for 815427c
1 file changed
Doc/whatsnew/3.0.rst
@@ -182,8 +182,7 @@ Python 3.0 has simplified the rules for ordering comparisons:
182
no longer makes sense -- all the elements must be comparable to each
183
other. Note that this does not apply to the ``==`` and ``!=``
184
operators: objects of different incomparable types always compare
185
- unequal to each other, and an object always compares equal to itself
186
- (i.e., ``x is y`` implies ``x == y``; this is true even for *NaN*).
+ unequal to each other.
187
188
* :meth:`builtin.sorted` and :meth:`list.sort` no longer accept the
189
*cmp* argument providing a comparison function. Use the *key*
0 commit comments