[Python-ideas] Globalize lonely augmented assignment

Antoine Pitrou solipsis at pitrou.net
Sun Jun 13 15:08:07 CEST 2010


On Sun, 13 Jun 2010 08:53:44 -0400
Demur Rumed <junkmute at hotmail.com> wrote:
> 
> Some like to think of []= as a form of augmented assignment

"x[...] = ..." calls x.__setitem__, it has nothing do with assignment.

Regards

Antoine.





More information about the Python-ideas mailing list