[issue4857] syntax: no unpacking in augassign
STINNER Victor
report at bugs.python.org
Tue Jan 6 14:18:48 CET 2009
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
Extract of the grammar:
target ::= identifier | ...
target_list ::= target ("," target)* [","]
assignment_stmt ::= (target_list "=")+ ...
augmented_assignment_stmt ::= target augop ...
augop ::= "+=" | ...
So there is only one possible target for "... += ..." and multiple
targets for "... = ..".
----------
nosy: +haypo
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4857>
_______________________________________
More information about the Python-bugs-list
mailing list