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

Terry Reedy tjreedy at udel.edu
Thu Jan 13 15:35:08 EST 2005


"Antoon Pardon" <apardon at forel.vub.ac.be> wrote in message 
news:slrncucmeo.5qu.apardon at rcpc42.vub.ac.be...
> Op 2005-01-13, Fredrik Lundh schreef <fredrik at pythonware.com>:
>> 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.
>
> And what else is an expression statement but an expression (list) used
> as a statement.

Whereas an expression used within a statement is not a statement, and that 
is the difference.

And of course, statements, in general, are not expressions and are not used 
within statements (except within compound statements).

Terry J. Reedy








More information about the Python-list mailing list