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