◐ Shell
clean mode source ↗

bpo-31698: add REQ_NAME macro by JelleZijlstra · Pull Request #3926 · python/cpython

Expand Up @@ -2032,7 +2032,7 @@ count_comp_fors(struct compiling *c, const node *n) n_fors++; REQ(n, comp_for); if (NCH(n) == 2) { REQ(CHILD(n, 0), ASYNC); REQ_NAME(CHILD(n, 0), "async"); n = CHILD(n, 1); } else if (NCH(n) == 1) { Expand Down Expand Up @@ -2917,7 +2917,7 @@ ast_for_expr(struct compiling *c, const node *n) return BoolOp(And, seq, LINENO(n), n->n_col_offset, n->n_end_lineno, n->n_end_col_offset, c->c_arena); assert(!strcmp(STR(CHILD(n, 1)), "or")); REQ_NAME(CHILD(n, 1), "or"); return BoolOp(Or, seq, LINENO(n), n->n_col_offset, n->n_end_lineno, n->n_end_col_offset, c->c_arena); case not_test: Expand Down