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.
1 parent 60c5066 commit c33b08fCopy full SHA for c33b08f
Grammar/python.gram
@@ -1421,7 +1421,6 @@ invalid_elif_stmt:
1421
| a='elif' named_expression ':' NEWLINE !INDENT {
1422
RAISE_INDENTATION_ERROR("expected an indented block after 'elif' statement on line %d", a->lineno) }
1423
invalid_else_stmt:
1424
- | 'else' ':' block elif_stmt { RAISE_SYNTAX_ERROR("WTF ELIF") }
1425
| a='else' ':' NEWLINE !INDENT {
1426
RAISE_INDENTATION_ERROR("expected an indented block after 'else' statement on line %d", a->lineno) }
1427
invalid_while_stmt:
0 commit comments