On Thu, 13 Jan 2005 09:29:49 -0500, Steve Holden <[EMAIL PROTECTED]> wrote:
>Fredrik Lundh wrote:
>
>> Antoon Pardon wrote:
>>
>>
>>>Well, it seems that Guido is wrong then. The documentation clearly
>>>states that an expression is a statement.
>>
>>
>> no, it says that an expression statement is a statement. if you don't
>> understand the difference, please *plonk* yourself.
>>
>OK then, "The documentation clearly states that not all statements can
>be expressions". Specifically Guido has justified the fact that an
>assignment does not return any value, and therefore cannot be used as a
>component of an expression.
>
Hm, that makes me wonder, is there an intermediate "returning of value" in
x = y = z = 123
?
>Mea culpa, but I'm not going to *plonk* myself - then *nobody* would be
>listening to me :-)
Regards,
Bengt Richter
--
http://mail.python.org/mailman/listinfo/python-list