things I wish python could do

Michael Walter cm at leetspeak.org
Fri May 14 07:28:23 EDT 2004


Ville Vainio wrote:
> Couldn't a = 10 still be an expression despite the syntax? Or at least
> behave like one, i.e. yield a result, probably 10 or None...
I would think so -- even in C(++) it's possible to write:

   a = b = 10;

Cheers,
Michael



More information about the Python-list mailing list