Skip to content

Commit 33240f6

Browse files
Update for_helpers.py
1 parent 7faccbc commit 33240f6

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
@@ -1198,7 +1198,7 @@ def get_expr_length(expr: Expression) -> int | None:
11981198
stars = [get_expr_length(i) for i in expr.items if isinstance(i, StarExpr)]
11991199
if None not in stars:
12001200
other = sum(not isinstance(i, StarExpr) for i in expr.items)
1201-
return other + sum(stars)
1201+
return other + sum(stars) # type: ignore [arg-type]
12021202
elif isinstance(expr, StarExpr):
12031203
# star expression needs some extra logic but that can come later, this is good for now
12041204
pass

0 commit comments

Comments
 (0)