@@ -180,7 +180,7 @@ DEF_RULE(try_stmt_except_and_more, nc, and(3), rule(try_stmt_except_list), opt_r
180
180
DEF_RULE (try_stmt_except , nc , and (4 ), tok (KW_EXCEPT ), opt_rule (try_stmt_as_name ), tok (DEL_COLON ), rule (suite ))
181
181
DEF_RULE (try_stmt_as_name , nc , and (2 ), rule (test ), opt_rule (as_name ))
182
182
DEF_RULE (try_stmt_except_list , nc , one_or_more , rule (try_stmt_except ))
183
- DEF_RULE (try_stmt_finally , nc , ident | and (3 ), tok (KW_FINALLY ), tok (DEL_COLON ), rule (suite ))
183
+ DEF_RULE (try_stmt_finally , nc , and (3 ), tok (KW_FINALLY ), tok (DEL_COLON ), rule (suite ))
184
184
DEF_RULE (else_stmt , nc , ident | and (3 ), tok (KW_ELSE ), tok (DEL_COLON ), rule (suite ))
185
185
DEF_RULE (with_stmt , c (with_stmt ), and (4 ), tok (KW_WITH ), rule (with_stmt_list ), tok (DEL_COLON ), rule (suite ))
186
186
DEF_RULE (with_stmt_list , nc , list , rule (with_item ), tok (DEL_COMMA ))
@@ -275,7 +275,7 @@ DEF_RULE(subscript_3, c(subscript_3), and(2), tok(DEL_COLON), opt_rule(subscript
275
275
DEF_RULE (subscript_3b , nc , or (2 ), rule (subscript_3c ), rule (subscript_3d ))
276
276
DEF_RULE (subscript_3c , nc , and (2 ), tok (DEL_COLON ), opt_rule (test ))
277
277
DEF_RULE (subscript_3d , nc , and (2 ), rule (test ), opt_rule (sliceop ))
278
- DEF_RULE (sliceop , nc , ident | and (2 ), tok (DEL_COLON ), opt_rule (test ))
278
+ DEF_RULE (sliceop , nc , and (2 ), tok (DEL_COLON ), opt_rule (test ))
279
279
#else
280
280
DEF_RULE (subscriptlist , c (generic_tuple ), list_with_end , rule (test ), tok (DEL_COMMA ))
281
281
#endif
0 commit comments