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.
2 parents a46630d + 35d7250 commit 063831dCopy full SHA for 063831d
mypyc/irbuild/expression.py
@@ -1036,7 +1036,9 @@ def constant_fold_expr_or_tuple(
1036
if not isinstance(expr, TupleExpr):
1037
return None
1038
folded = tuple(
1039
- const for const in map(partial(constant_fold_expr_or_tuple, builder), expr.items) if const is not None
+ const
1040
+ for const in map(partial(constant_fold_expr_or_tuple, builder), expr.items)
1041
+ if const is not None
1042
)
1043
return folded if len(folded) == len(expr.items) else None
1044
0 commit comments