[docs] [issue35654] Remove 'guarantee' that sorting only relies on __lt__ from sorting howto
Martijn Pieters
report at bugs.python.org
Fri Jan 4 05:38:46 EST 2019
Martijn Pieters <mj at python.org> added the comment:
Well, if this is indeed by design (and I missed the list.sort() reference) then I agree the HOWTO should not be changed!
I'd be happy to change this to asking for more explicit mentions in the docs for sorted, heapq and bisect that using only < (__lt__) is a deliberate choice.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35654>
_______________________________________
More information about the docs
mailing list