sorting list of complex numbers

Hrvoje Niksic hniksic at xemacs.org
Wed Nov 19 05:10:05 EST 2008


Terry Reedy <tjreedy at udel.edu> writes:

> Do your tuple destructuring in the first statement in your body and
> nothing will break.

Unless you were using a lambda, which is quite useful as argument to
"sort".



More information about the Python-list mailing list