[docs] [issue11712] Doc list.sort(cmp=,key=) result.
Terry J. Reedy
report at bugs.python.org
Wed Mar 30 02:15:21 CEST 2011
Terry J. Reedy <tjreedy at udel.edu> added the comment:
The 2.7 doc actually says that the two arguments to cmp are list items, rather than list items or keys "cmp specifies a custom comparison function of two arguments (list items)". And this "In general, the key and reverse conversion processes are much faster than specifying an equivalent cmp function." sort of suggests one or the other (but not both). That said, given the absence of overt problems, I agree with
> We may be doing them a disservice by suggesting otherwise.
----------
resolution: -> wont fix
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11712>
_______________________________________
More information about the docs
mailing list