The error mentioned in the title is this.

>>> *()
  File "<stdin>", line 1
SyntaxError: can't use starred expression here

According to the Language Reference

https://docs.python.org/3/reference/expressions.html#expression-lists

it's not really a starred expression. In the context of defining the
notion of starred expressiont, it looks like it's called a starred
item. I think the message is confusing and should be fixed. I don't
know if "starred item" is the right name to be used there, but it's
at least documented (in the Reference).

Best regards,
Takuo
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/GBSKQRG5CKOUIOGDUYSXQJOKA3VJHCGT/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to