[Python-ideas] a new lambda syntax
Oleg Broytman
phd at phd.pp.ru
Mon Oct 19 16:04:47 CEST 2009
On Mon, Oct 19, 2009 at 09:33:06PM +0800, starwing wrote:
> current lambda only support single line
> syntax. it's not very good.
This is where you've made an error. Single-line lambdas are good enough,
and if you need more - just create a named function.
Oleg.
--
Oleg Broytman http://phd.pp.ru/ phd at phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-ideas
mailing list