Skip to content

Commit 35d7250

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1668d8a commit 35d7250

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mypyc/irbuild/expression.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1035,7 +1035,9 @@ def constant_fold_expr_or_tuple(
10351035
if not isinstance(expr, TupleExpr):
10361036
return None
10371037
folded = tuple(
1038-
const for const in map(partial(constant_fold_expr_or_tuple, builder), expr.items) if const is not None
1038+
const
1039+
for const in map(partial(constant_fold_expr_or_tuple, builder), expr.items)
1040+
if const is not None
10391041
)
10401042
return folded if len(folded) == len(expr.items) else None
10411043

0 commit comments

Comments
 (0)