On 4/12/2012 19:29, Jan Kuiken wrote:
On 4/9/12 20:57 , Kiuhnm wrote:

Do you have some real or realistic (but easy and self-contained)
examples when you had to define a (multi-statement) function and pass it
to another function?

I don't use it daily but the first argument of list.sort, i.e. the
compare function springs to mind.

Yes, I guess there are times when a lambda is not enough and one needs to define a real function.
Thanks.

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

Reply via email to