"for k in keys().sort()" -- Beyond the FAQ
dj trombley
worldwin at liii.com
Fri Dec 17 01:44:02 EST 1999
Previous message (by thread):
"for k in keys().sort()" -- Beyond the FAQ
Next message (by thread):
windll question
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
A slightly less wordy sort: sort = lambda x: (x.sort(), x)[1] -dj
Previous message (by thread):
"for k in keys().sort()" -- Beyond the FAQ
Next message (by thread):
windll question
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-list mailing list