"Antoon Pardon" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Op 2005-01-13, Fredrik Lundh schreef <[EMAIL PROTECTED]>: >> 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 -- http://mail.python.org/mailman/listinfo/python-list