assignment in if

Edward Elliott nobody at 127.0.0.1
Tue May 2 22:30:12 EDT 2006


Edward Elliott wrote:
> Edward Elliott wrote:
>> <nitpick> assignemnt is actually an expression in those languages, not a
>> statement. </nitpick>
> 
> s/statement/operator/

<shakes head>
it was probably clearer the first time, but let me rephrase:
in C/Java, assignment is neither a statement not an operator.  it is an
expression involving a certain operator.  that operator (not so)
coincidentally happens to be the assignment operator, or one of its
variants.

ah forget it, replying to your reply to yourself is probably illegal...




More information about the Python-list mailing list