SyntaxError says: "can't use starred expression here", but its not the same "starred expression" defined in the Language Reference.

Aug. 18, 2021
12:20 p.m.
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
1301
Age (days ago)
1301
Last active (days ago)
0 comments
1 participants
participants (1)
-
Matsuoka Takuo