Let's Talk About Lambda Functions!
Delaney, Timothy
tdelaney at avaya.com
Sun Aug 4 23:28:22 EDT 2002
> From: Emile van Sebille [mailto:emile at fenx.com]
>
> John Roth
> > For example (and this is the example in the draft PEP on my disk)
> >
> > x = (
> > def (a, b):
> > print a
> > print b
> > )
> >
>
> I have little doubt I'm missing the point here, having just got back
> from a week off, but how does this differ from:
>
> def x(a, b):
> print a
> print b
It's more verbose, and less readable.
Tim Delaney
More information about the Python-list
mailing list