We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Current message:
>>> type A[yield] = ... File "<python-input-0>", line 1 type A[yield] = ... ^^^^^ SyntaxError: invalid syntax >>> type A[...] = ... File "<python-input-1>", line 1 type A[...] = ... ^^^ SyntaxError: invalid syntax >>> type A[1] = ... File "<python-input-2>", line 1 type A[1] = ... ^ SyntaxError: invalid syntax
Would it make sense to say what can be there? Something like: expected a type parameter definition, found "%R" % _PyPegen_get_expr_name(expr)
expected a type parameter definition, found "%R" % _PyPegen_get_expr_name(expr)
SyntaxError
The text was updated successfully, but these errors were encountered:
pythongh-125326: Improve SyntaxError for invalid type params definiton
150a28a
573a8b6
sobolevn
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Feature or enhancement
Current message:
Would it make sense to say what can be there?
Something like:
expected a type parameter definition, found "%R" % _PyPegen_get_expr_name(expr)
Linked PRs
SyntaxError
for invalid type params definiton #125353The text was updated successfully, but these errors were encountered: