function expression with 2 arguments

Xah Lee xah at xahlee.org
Thu Mar 3 07:23:11 EST 2005


Roel Schroeven wrote:
> (lambda x, y: x+y)(a, b)

Thanks. That's what i was looking for.

where in Pytho doc can one find this? or the lambda with multiple
params?


> Most often the lambda is not used directly, but passed to a function.

That is because the IT morons has been throughly brainwashed by
imperative shits. (and these morons don't even know it)

i'll explain the ins and outs of expressions of functions some other
day.

 Xah
 xah at xahlee.org
 http://xahlee.org/PageTwo_dir/more.html




More information about the Python-list mailing list