We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7faccbc commit 33240f6Copy full SHA for 33240f6
mypyc/irbuild/for_helpers.py
@@ -1198,7 +1198,7 @@ def get_expr_length(expr: Expression) -> int | None:
1198
stars = [get_expr_length(i) for i in expr.items if isinstance(i, StarExpr)]
1199
if None not in stars:
1200
other = sum(not isinstance(i, StarExpr) for i in expr.items)
1201
- return other + sum(stars)
+ return other + sum(stars) # type: ignore [arg-type]
1202
elif isinstance(expr, StarExpr):
1203
# star expression needs some extra logic but that can come later, this is good for now
1204
pass
0 commit comments