On 2/17/2010 1:51 PM, cjw wrote:
On 17-Feb-10 05:48 AM, Bruno Desthuilliers wrote:
Lawrence D'Oliveiro a écrit :
In message <60b1abce-4381-46ab-91ed-
f2ab2154c...@g19g2000yqe.googlegroups.com>, Andrej Mitrovic wrote:
Also, lambda's are expressions, not statements ...
Is such a distinction Pythonic, or not?
Python is (by design) a statement-based language, so yes, this
distinction is pythonic !-)
Aren't lambda forms better described as function?
They are expressions that evaluate to function objects nearly identical
to that produced by the def statememt they abbreviate. The only
difference is the .__name__ attribute.
Terry Jan Reedy
--
http://mail.python.org/mailman/listinfo/python-list