[New-bugs-announce] [issue4857] syntax: no unpacking in augassign

jura report at bugs.python.org
Tue Jan 6 14:11:53 CET 2009

New submission from jura <jura05 at narod.ru>:

the following code produces syntax error:
>>> (x, y) += 1
While this is documented in
("An augmented assignment evaluates the target (which, unlike normal
аssignment statements, cannot be an unpacking)..."),
the syntax specification doesn't reflect this:

assignee: georg.brandl
components: Documentation
messages: 79256
nosy: georg.brandl, jura05
severity: normal
status: open
title: syntax: no unpacking in augassign
versions: Python 3.0

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list