sort the list

Nick Craig-Wood nick at craig-wood.com
Wed Nov 23 11:30:03 EST 2005


Neil Hodgson <nyamatongwe+thunder at gmail.com> wrote:
>  Nick Craig-Wood:
> 
> > Since no-one mentioned it and its a favourite of mine, you can use the
> > decorate-sort-undecorate method, or "Schwartzian Transform"
> 
>      That is what the aforementioned key argument to sort is: a built-in 
>  decorate-sort-undecorate.

Its also python 2.4 only though :-(

(We are stuck on python 2.3 here)

-- 
Nick Craig-Wood <nick at craig-wood.com> -- http://www.craig-wood.com/nick



More information about the Python-list mailing list