[Python-ideas] Ruby-style Blocks in Python Idea

Steven D'Aprano steve at pearwood.info
Tue Mar 10 00:17:00 CET 2009


On Tue, 10 Mar 2009 09:04:32 am Terry Reedy wrote:
> Steven D'Aprano wrote:
> > Lambdas are single-line (technically, single-statement) anonymous
> > functions,
>
> Lambdas are function-defining expressions used *within* statements
[...]

Ah, sorry for the brain-o, I was thinking "expression" and 
typing "statement". But thanks for the detailed explanation anyway, it 
is helpful.


-- 
Steven D'Aprano



More information about the Python-ideas mailing list