Skip to content

Commit e0e72b1

Browse files
pre-commit-ci[bot]BobTheBuidler
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0d6a6c3 commit e0e72b1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

mypyc/irbuild/for_helpers.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1250,11 +1250,7 @@ def expr_has_specialized_for_helper(builder: IRBuilder, expr: Expression) -> boo
12501250
if not isinstance(expr, CallExpr):
12511251
return False
12521252
if isinstance(expr.callee, RefExpr):
1253-
return expr.callee.fullname in {
1254-
"builtins.range",
1255-
"builtins.enumerate",
1256-
"builtins.zip",
1257-
}
1253+
return expr.callee.fullname in {"builtins.range", "builtins.enumerate", "builtins.zip"}
12581254
elif isinstance(expr.callee, MemberExpr):
12591255
return expr.callee.fullname in {"keys", "values", "items"}
12601256
return False

0 commit comments

Comments
 (0)