[Python-ideas] Globalize lonely augmented assignment
Greg Ewing
greg.ewing at canterbury.ac.nz
Mon Jun 14 02:43:24 CEST 2010
Georg Brandl wrote:
> They don't -- as I said in the other mail, there is no "existing scope
> rule" that covers assignments that are implicitly global or nonlocal.
I don't see how you come to that conclusion. You just
need to disregard the augmented assignment and follow
the normal rules based on the presence of plain
assignments and global and nonlocal declarations.
--
Greg
More information about the Python-ideas
mailing list