[EMAIL PROTECTED] wrote: > Lambdas are expressions. Statements can't be embedded in expressions. That > statements and expressions are different is a core feature of the language. > That is almost certainly not going to change.
Although "print" may become a function in 3.0, so that this particular example would no longer be a problem. -- Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | Carpe post meridiam! | Christchurch, New Zealand | (I'm not a morning person.) | [EMAIL PROTECTED] +--------------------------------------+ _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com