On Friday, August 30, 2013 8:23:44 AM UTC+2, alex23 wrote:
> On 30/08/2013 4:14 PM, fp2...@gmail.com wrote:
>
> > For this purpose however, I suspect that a named function with a proper
> > docstring that can be imported and reused over and over again is probably
> > more appropriate than a lambda
>
>
>
> Given that in Chris' example the lambda was returned from a factory,
>
> importing the inner function by name is never going to be a concern.
>
>
>
> It's also possible to assign to both __name__ and __doc__ for a lambda,
>
> which can be useful at times.
I am sorry, I can't see any of Chris' code in this thread, where is it???
--
http://mail.python.org/mailman/listinfo/python-list