Augmented Assignement (was: Re: PEP scepticism)
Skip Montanaro
skip at pobox.com
Mon Jul 2 13:22:34 EDT 2001
Steve> ... (and nobody id going to *force* you to use augmented
Steve> assignments).
Bingo. Nobody's going to force people to use them in all their glory
either. I'm quite happy to use "x += 1" where I know x is an int and ignore
the other cases because the semantics just aren't as clear to me and can
shift with every new class that implements __iadd__ and friends.
--
Skip Montanaro (skip at pobox.com)
(847)971-7098
More information about the Python-list
mailing list