From: Serhiy Storchaka Date: Mon, 29 Nov 2021 08:19:59 +0000 (+0200) Subject: Remove misleading comment in the AST optimizer (#29825) X-Git-Tag: v3.11.0a3~104 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=87d5180b7abbb8cf6213361f6bdd57cb605894d2;p=thirdparty%2FPython%2Fcpython.git Remove misleading comment in the AST optimizer (#29825) --- diff --git a/Python/ast_opt.c b/Python/ast_opt.c index 356f60e2d539..5f219c6f4bbf 100644 --- a/Python/ast_opt.c +++ b/Python/ast_opt.c @@ -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;