File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ del_stmt[stmt_ty]:
210210
211211yield_stmt[stmt_ty]: y=yield_expr { _PyAST_Expr(y, EXTRA) }
212212
213- assert_stmt[stmt_ty]:
213+ assert_stmt[stmt_ty]:
214214 | invalid_assert_stmt
215215 | 'assert' a=expression b=[',' z=expression { z }] { _PyAST_Assert(a, b, EXTRA) }
216216
@@ -1302,12 +1302,12 @@ invalid_del_stmt:
13021302invalid_assert_stmt:
13031303 | 'assert' a=expression '=' b=expression {
13041304 RAISE_SYNTAX_ERROR_KNOWN_RANGE(
1305- a, b,
1305+ a, b,
13061306 "cannot assign to %s here. Maybe you meant '==' instead of '='?",
13071307 _PyPegen_get_expr_name(a)) }
13081308 | 'assert' expression ',' a=expression '=' b=expression {
13091309 RAISE_SYNTAX_ERROR_KNOWN_RANGE(
1310- a, b,
1310+ a, b,
13111311 "cannot assign to %s here. Maybe you meant '==' instead of '='?",
13121312 _PyPegen_get_expr_name(a)) }
13131313invalid_block:
You can’t perform that action at this time.
0 commit comments