[Python-ideas] A simple proposal concerning lambda
Abe Dillon
abedillon at gmail.com
Tue Aug 21 22:57:51 EDT 2018
[Chris Angelico]
> If you have a use-case for a lambda function that takes a callback and
> has a default value for that callback, please submit it to The Daily
> WTF. In Steve's example, the main function was created with a
> statement.
Fair enough, but I still think D'Aprano may have engineered his example to
be particularly unreadable.
Why would you use 'arg' for both the argument to the method and the
callback! That's at least a little WTF.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180821/befc32f5/attachment.html>
More information about the Python-ideas
mailing list