Message359138
I know this is not allowed:
>>> ((a, b, c) := (1, 2, 3))
File "<stdin>", line 1
SyntaxError: cannot use named assignment with tuple
But what is "named assignment", and why is this SyntaxError talking about it? Shouldn't it say "cannot use assignment expressions with tuple" ? |
|
Date |
User |
Action |
Args |
2020-01-01 01:44:07 | nedbat | set | recipients:
+ nedbat |
2020-01-01 01:44:07 | nedbat | set | messageid: <1577843047.69.0.249542272206.issue39176@roundup.psfhosted.org> |
2020-01-01 01:44:07 | nedbat | link | issue39176 messages |
2020-01-01 01:44:07 | nedbat | create | |
|