8000 Remove misleading comment in the AST optimizer (#29825) · python/cpython@87d5180 · GitHub
[go: up one dir, main page]

Skip to content

Commit 87d5180

Browse files
Remove misleading comment in the AST optimizer (#29825)
1 parent 934a826 commit 87d5180

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Python/ast_opt.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,6 @@ fold_compare(expr_ty node, PyArena *arena, _PyASTOptimizeState *state)
618618

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

0 commit comments

Comments
 (0)
0