Steven D'Aprano schrieb:
On Tue, 10 Mar 2009 04:15:13 am you wrote:
Hey Steven,
Can you explain why: func(named_function) is radically different from: func(multi-line-code-block-without-the-name)
Hmz, the intention isn't to support multi-line lambdas. It's to make passing in anonymous functions easier.
Lambdas are single-line (technically, single-statement) anonymous
If you really want to get technical, it's single-expression. nit-pickingly-yrs, Georg -- Thus spake the Lord: Thou shalt indent with four spaces. No more, no less. Four shall be the number of spaces thou shalt indent, and the number of thy indenting shall be four. Eight shalt thou not indent, nor either indent thou two, excepting that thou then proceed to four. Tabs are right out.