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 d101ac1 commit 850ba88Copy full SHA for 850ba88
Grammar/python.gram
@@ -654,5 +654,5 @@ invalid_double_type_comments:
654
| TYPE_COMMENT NEWLINE TYPE_COMMENT NEWLINE INDENT {
655
RAISE_SYNTAX_ERROR("Cannot have two type comments on def") }
656
invalid_del_target:
657
- | a=star_expression &(')' | ']' | ',' | ';' | NEWLINE) {
+ | a=star_expression &del_target_end {
658
RAISE_SYNTAX_ERROR("cannot delete %s", _PyPegen_get_expr_name(a)) }
0 commit comments