Daniel Schüle wrote:
> > what does let cmp = .. away mean?
>
> it means
> lst.sort(lambda x,y: cmp(x[1], y[1]))

note that cmp= isn't needed under 2.4 either.  if you leave it out,
your code will be more portable.

</F>



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to