[issue1771] Remove cmp parameter to list.sort() and builtin.sorted()
Raymond Hettinger
report at bugs.python.org
Sun Feb 17 06:27:29 CET 2008
Raymond Hettinger added the comment:
FWIW, an object with a complex element-to-element comparison can define
an __lt__() method and have it work with sort, min, max, etc.
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1771>
__________________________________
More information about the Python-bugs-list
mailing list