a question regarding conciseness
Gerson Kurz
gerson.kurz at t-online.de
Thu Feb 21 13:25:04 EST 2002
More information about the Python-list mailing list
Thu Feb 21 13:25:04 EST 2002
- Previous message (by thread): a question regarding conciseness
- Next message (by thread): a question regarding conciseness
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 21 Feb 2002 19:37:30 +0100, Christophe Delord <christophe.delord at free.fr> wrote: >The problem with sort is that it sorts the list as a side effect. Well, if that is the whole problem: sort = lambda x:(lambda x=x[:]:(x.sort(),x)[1])() But your lambdas are very nice, too...
- Previous message (by thread): a question regarding conciseness
- Next message (by thread): a question regarding conciseness
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list