a = b = 1 just syntactic sugar?
Erik Max Francis
max at alcyone.com
Tue Jun 3 05:37:32 EDT 2003
Kendear wrote:
> so you mean in Python, = is just
> like if, for, while... ?
If by "just like" you mean "is a statement as opposed to an expression,"
then yes. Same thing with print and exec, for example.
--
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
__ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
/ \ Bring me men / Bring me men to match my mountains
\__/ Lamya
More information about the Python-list
mailing list