Augmented assignment

gene tani gene.tani at gmail.com
Tue Feb 21 14:12:34 EST 2006


Terry Hancock wrote:
> On Tue, 21 Feb 2006 10:55:42 +0530
> Suresh Jeevanandam <jm.suresh at gmail.com> wrote:

> Seriously,
> I think they are usually equivalent internally,
> at least for immutable objects.
>

yah, but when you do augmented assigns on lists, or mix immutable an
dmutable:

http://zephyrfalcon.org/labs/python_pitfalls.html




More information about the Python-list mailing list