list.sort()
Rikard Bosnjakovic
bos at hack.org
Sun Jun 17 15:50:20 EDT 2001
Charlie Dyson wrote:
> It would be better if it sort **returned** the results, instead I have to
> do:
> keys = x.keys()
> keys.sort()
>
> That's one extra line of code!!!
Indeed. That's exactly my point.
--
Rikard Bosnjakovic - http://bos.hack.org/cv/ - ICQ: 1158217
Anyone sending unwanted advertising e-mail to my address will be
charged $250 for network traffic and computing time. By extracting my
address from this message or its header, you agree to these terms.
More information about the Python-list
mailing list