Skip to content

Commit 825c75d

Browse files
committed
update comment
1 parent 90a3196 commit 825c75d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/ast_opt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ astfold_expr(expr_ty node_, PyArena *ctx_, _PyASTOptimizeState *state)
803803
case Subscript_kind:
804804
CALL(astfold_expr, expr_ty, node_->v.Subscript.value);
805805
CALL(astfold_expr, expr_ty, node_->v.Subscript.slice);
806-
/* Subscript folding is now done in flowgraph.c (optimize_constant_subscr) */
806+
/* Subscript folding is now done in flowgraph.c (optimize_if_const_subscr) */
807807
break;
808808
case Starred_kind:
809809
CALL(astfold_expr, expr_ty, node_->v.Starred.value);

0 commit comments

Comments
 (0)