Confessions of a Python fanboy

Xavier Ho contact at xavierho.com
Fri Jul 31 10:41:17 CEST 2009


On Fri, Jul 31, 2009 at 6:38 PM, Chris Rebert <clp2 at rebertia.com> wrote:

> No, because it has a name, namely "goBig"; this obviously prevents it
> from being "anonymous".
>
> For comparison, note how the function in the following example is
> never given a name, and is thus anonymous:
> >>> (lambda x: x+5)(6)
> 11
>

Oh, I see. I was thinking in terms of using a variable to "give the function
a name". In that case, I understand. Thanks again for bearing me with my
random thoughts.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090731/9c3f4d35/attachment.html>


More information about the Python-list mailing list