python and macros (again) [Was: python3: 'where' keyword]

Bengt Richter bokr at oz.net
Thu Jan 13 17:25:40 EST 2005


On Thu, 13 Jan 2005 09:29:49 -0500, Steve Holden <steve at holdenweb.com> 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



More information about the Python-list mailing list