from future import pass_function

Devin Jeanpierre jeanpierreda at gmail.com
Wed Jul 25 12:48:15 EDT 2012


On Wed, Jul 25, 2012 at 12:05 PM, Chris Angelico <rosuav at gmail.com> wrote:
> Simple way of making the iterator display its yielded result. I cannot
> imagine any circumstance in which you'd want to map "pass" over
> everything. But then, as Teresa said, I'm only one, and possibly I'm
> wrong!

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

(Unfortunately, these two niceties are somewhat in conflict.)

-- Devin



More information about the Python-list mailing list