Yan Mitrofanov <mmxlv...@mail.ru> added the comment:
I got your point. So it seems that two pieces of documentation are not equivalent: https://docs.python.org/3/howto/sorting.html#odd-and-ends > The sort routines are guaranteed to use __lt__() when making comparisons > between two objects. https://docs.python.org/3/library/stdtypes.html#list.sort > This method sorts the list in place, using only < comparisons between items. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39210> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com