Skip to content

Commit c33b08f

Browse files
Remove an accidentally added test line
1 parent 60c5066 commit c33b08f

File tree

2 files changed

+71
-105
lines changed

2 files changed

+71
-105
lines changed

Grammar/python.gram

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1421,7 +1421,6 @@ invalid_elif_stmt:
14211421
| a='elif' named_expression ':' NEWLINE !INDENT {
14221422
RAISE_INDENTATION_ERROR("expected an indented block after 'elif' statement on line %d", a->lineno) }
14231423
invalid_else_stmt:
1424-
| 'else' ':' block elif_stmt { RAISE_SYNTAX_ERROR("WTF ELIF") }
14251424
| a='else' ':' NEWLINE !INDENT {
14261425
RAISE_INDENTATION_ERROR("expected an indented block after 'else' statement on line %d", a->lineno) }
14271426
invalid_while_stmt:

0 commit comments

Comments
 (0)