Steven D'Aprano <[EMAIL PROTECTED]> writes:
> Personally, I think the confusion of augmented assignments is not worth 
> the benefit of saving typing a couple of characters. I think Guido's 
> first decision, to leave += etc out of the language, was the right 
> decision.

It quite helpful to be able to say

  foo['bar'+lookup(baz)][blob(a)+frob(b)] += 1

without having to split it into separate statements to avoid repeating
the function calls and their possible side effects.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to