Guido rethinking removal of cmp from sort method

Paul Rubin no.email at nospam.invalid
Tue Mar 29 20:23:03 EDT 2011


Ian Kelly <ian.g.kelly at gmail.com> writes:
> cmp_to_key(lambda x, y: -cmp(x, y))

cmp_to_key(lambda x, y: cmp(y, x))



More information about the Python-list mailing list