diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2021-11-29 08:19:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-29 08:19:59 (GMT) |
commit | 87d5180b7abbb8cf6213361f6bdd57cb605894d2 (patch) | |
tree | 15f6d41d6bc448c634352570f6dec658dada9b36 /Python | |
parent | 934a82623793e9d52b85f74d5395d65927a52205 (diff) | |
download | cpython-87d5180b7abbb8cf6213361f6bdd57cb605894d2.zip cpython-87d5180b7abbb8cf6213361f6bdd57cb605894d2.tar.gz cpython-87d5180b7abbb8cf6213361f6bdd57cb605894d2.tar.bz2 |
Remove misleading comment in the AST optimizer (#29825)
Diffstat (limited to 'Python')
-rw-r--r-- | Python/ast_opt.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/ast_opt.c b/Python/ast_opt.c index 356f60e..5f219c6 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; |