Skip to content

Commit 2328420

Browse files
remove unnecessary check
1 parent ad63153 commit 2328420

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mypyc/irbuild/for_helpers.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,6 @@ def get_expr_length(expr: Expression) -> int | None:
11971197
and isinstance(expr.node, Var)
11981198
and expr.node.is_final
11991199
and isinstance(expr.node.final_value, str)
1200-
and expr.node.has_explicit_value
12011200
):
12021201
return len(expr.node.final_value)
12031202
elif isinstance(expr, ListComprehension):

0 commit comments

Comments
 (0)