function expression with 2 arguments

Leif K-Brooks eurleif at ecritters.biz
Sun Mar 6 03:47:16 EST 2005


Xah Lee wrote:
> if i understand correctly, forms such as
> (lambda x,y:x+y)(a,b)
> can only be gained thru experience? and not documented directly
> anywhere in the official docs?

The official documentation can't list every possible permutation of the 
various syntactic constructs. It does explain parenthesis, the lambda 
expression, and calling syntax; the particular combination of the three 
that you're using can therefor be logically understood from the docs.



More information about the Python-list mailing list