Skip to content
New issue

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

fix error message in ast.c #6776

Merged
merged 1 commit into from
May 13, 2018
Merged

fix error message in ast.c #6776

merged 1 commit into from
May 13, 2018

Conversation

JelleZijlstra
Copy link
Member

This was probably copied from the PyErr_Format one block up, but this block handles compound_stmt, not small_stmt.

This confused me for a while when I was messing with the grammar and got an inexplicable error about small_stmt.

I don't think this requires an issue or a NEWS entry (this error should basically only appear when you make changes to the grammar), but I can add one if needed.

This was probably copied from the PyErr_Format one block up, but this block handles compound_stmt, not small_stmt.

This confused me for a while when I was messing with the grammar and got an inexplicable error about small_stmt.
@bedevere-bot
Copy link

@freddrake: Please replace # with GH- in the commit message next time. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants