New submission from Ned Batchelder <n...@nedbatchelder.com>:

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" ?

----------
messages: 359138
nosy: nedbat
priority: normal
severity: normal
status: open
title: Syntax error message uses strange term: "named assignment"

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39176>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to