Skip to content

Commit c792337

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 684e800 commit c792337

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/irbuild/for_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,7 @@ def get_expr_length(expr: Expression) -> int | None:
12121212
return min(arg_lengths)
12131213
elif fullname == "builtins.range" and all(isinstance(arg, IntExpr) for arg in expr.args):
12141214
return len(range(*(arg.value for arg in expr.args)))
1215-
1215+
12161216
# TODO: extend this, passing length of listcomp and genexp should have worthwhile
12171217
# performance boost and can be (sometimes) figured out pretty easily. set and dict
12181218
# comps *can* be done as well but will need special logic to consider the possibility

0 commit comments

Comments
 (0)