why no ++?

Michael Abbott michael at rcp.co.uk
Tue Aug 14 05:47:41 EDT 2001


"Alex Martelli" <aleax at aleax.it> wrote in
news:9lan1301822 at enews1.newsguy.com: 

> Seriously now -- multiple assignment is a very minor thing, but
> handy when you do need it, and not error-prone.  So, why not?
> 

Yes, I think I have to accept defeat and agree here.  I guess it's not 
really all that error prone: the example we started with was rather 
contrived.  As you say, it's not a feature to get anxious about.

At least assignment is not an expression, as in C (which is how I think I 
got my semantics confused the first time).



More information about the Python-list mailing list