Doctest failing

Chris Angelico rosuav at gmail.com
Sun Sep 11 23:06:54 EDT 2011


On Mon, Sep 12, 2011 at 11:37 AM, Ben Finney <ben+python at benfinney.id.au> wrote:
> Those are only practically the same if you ignore the practical worth of
> a function knowing the name it was defined with. The latter does not
> have that, hence I don't see it as practically the same as the former.
>

I know, but in the context of explaining what "lambda" means, it's
practically the same. Lambdas can't (afaik) have docstrings either,
etc, etc, but in terms of defining lambda, the two are more-or-less
equivalent.

ChrisA



More information about the Python-list mailing list