anonymous variable

Carel Fellinger cfelling at iae.nl
Sat Jul 7 13:25:20 EDT 2001


Emmanuel Jeandel <ejeandel at ens-lyon.fr> wrote:
...
> In python 1.5, i do : 
> L.sort ( lambda (_,_, size1) (_,_,size2) : cmp(size1,size2))

a work-a-round might be to use __ and ___ and so on.
-- 
groetjes, carel



More information about the Python-list mailing list