Sorting out sort (Re: Python vs. Ruby)
Anders J. Munch
andersjm at dancontrol.dk
Fri Jan 3 11:04:51 EST 2003
"Skip Montanaro" <skip at pobox.com> wrote in message
news:mailman.1041608921.24048.python-list at python.org...
> >> > What more do you need?
> >>
> >> Something that chains properly.
>
> Anders> What does that mean? What does chaining do for you that
> Anders> composition doesn't?
>
> Preserve references to the original object?
l[:] = reverse(sort(l))
- Anders
More information about the Python-list
mailing list