[issue1771] Remove cmp parameter to list.sort() and builtin.sorted()

Guido van Rossum report at bugs.python.org
Tue Jan 15 00:35:46 CET 2008


Guido van Rossum added the comment:

> After more thought, I would like to make one more change and require the
> arguments to be keywords such as sort(key=str.lower) but not
> sort(str.lower).

Works for me. (To be honest I thought key was already required to be a
keyword. :-)

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1771>
__________________________________


More information about the Python-bugs-list mailing list