"Sergey Dorofeev" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | How to make x*x to be evaluated once?
Addendum to the answers already posted: In Python, lambda params: expression is an inline abbreviation for def <lambda>(params): return expression except that there is no external binding of the otherwise illegal .func_name '<lambda>'. The resulting function objects are otherwise identical. After years of discussion, Guido has decided to leave lambda alone for 3.0. It will not be neither expanded, nor removed, nor renamed. Terry Jan Reedy -- http://mail.python.org/mailman/listinfo/python-list