Skip to content

Commit

Permalink
Remove misleading comment in the AST optimizer (#29825)
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiy-storchaka committed Nov 29, 2021
1 parent 934a826 commit 87d5180
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Python/ast_opt.c
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,6 @@ fold_compare(expr_ty node, PyArena *arena, _PyASTOptimizeState *state)

ops = node->v.Compare.ops;
args = node->v.Compare.comparators;
/* TODO: optimize cases with literal arguments. */
/* Change literal list or set in 'in' or 'not in' into
tuple or frozenset respectively. */
i = asdl_seq_LEN(ops) - 1;
Expand Down

0 comments on commit 87d5180

Please sign in to comment.