from future import pass_function

Ian Kelly ian.g.kelly at gmail.com
Wed Jul 25 14:14:31 EDT 2012


On Jul 25, 2012 10:51 AM, "Devin Jeanpierre" <jeanpierreda at gmail.com> wrote:

> True. But it might be nice to use pass both in lambdas and regular
> functions, or to use pass as a variable name.

You can already use pass (or the equivalent) in a lambda.

lambda: None
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120725/09293a69/attachment.html>


More information about the Python-list mailing list