Some "pythonic" suggestions for Python
Loic Mahe
loic.mahe at nospam.fr
Mon Nov 12 09:37:33 EST 2007
Chris M write :
> Multi-return value lambda? Just so you know, there is no concept of
> returning more than one value from a function.
I wrote:
> * multi return value lambda
I meant: multiple return statement, not return multiple values
pseudo code here:
lambda x: if A return B, if C return D, if E return F ...
it could be nice if ou could write normal functions ... as lambda ones
and not being limited to a subset of the kewords ...
at least it would fit Frank Samuleson needs/wishes better...
More information about the Python-list
mailing list