This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author furkanonder
Recipients BTaskaya, furkanonder
Date 2020-03-25.20:26:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1585167987.52.0.347925597304.issue40067@roundup.psfhosted.org>
In-reply-to
Content
Hello everyone,

>>> a,*b,*c,*d = range(4)
  File "<stdin>", line 1
SyntaxError: two starred expressions in assignment
>>> 

>>> a,*b,*c,*d,*e = range(5)
  File "<stdin>", line 1
SyntaxError: two starred expressions in assignment
>>> 

I think this error message is incomplete. It states that there are two starred assignments but there are more. It might be better if we change it to something less vague like "SyntaxError: more than one starred expressions in assignment."
History
Date User Action Args
2020-03-25 20:26:27furkanondersetrecipients: + furkanonder, BTaskaya
2020-03-25 20:26:27furkanondersetmessageid: <1585167987.52.0.347925597304.issue40067@roundup.psfhosted.org>
2020-03-25 20:26:27furkanonderlinkissue40067 messages
2020-03-25 20:26:27furkanondercreate