sorting dictionary keys?
bdesth.nospam at removeme.free.fr
Sun Nov 30 01:29:11 CET 2003
Serge Orlov wrote:
>>Which is one of the main PITA in Python IMHO :(
>>(not the fact that it sort in place, the fact that it does not return self).
> def sort(lst):
> return lst
Which is pretty ugly and adds a useless function call.
I just can't understand *why* the BDFL made this choice.
More information about the Python-list