[issue45014] SyntaxError describing the error using a wrong term

2021-08-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The error is correct: >>> *(2,3,4) File "", line 1 SyntaxError: can't use starred expression her The problem is that you are trying to use as top level while: *(), is equivalent to: (*(),) which is using them in a tuple -- nosy: +pablogs

[issue45014] SyntaxError describing the error using a wrong term

2021-08-26 Thread Takuo Matsuoka
New submission from Takuo Matsuoka : The error is this: >>> *() File "", line 1 SyntaxError: can't use starred expression here I think it's right SyntaxError is raised here, but the message is incorrect. Indeed, many starred expressions are actually allowed there. E.g., >>> *(), () I hap