18 Aug
2021
18 Aug
'21
7:20 a.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