Skip to content

Commit 1668d8a

Browse files
committed
fix syntax
1 parent 68b3633 commit 1668d8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/irbuild/expression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1035,7 +1035,7 @@ def constant_fold_expr_or_tuple(
10351035
if not isinstance(expr, TupleExpr):
10361036
return None
10371037
folded = tuple(
1038-
const for const in map(constant_fold_expr_or_tuple, expr.items) if const is not None
1038+
const for const in map(partial(constant_fold_expr_or_tuple, builder), expr.items) if const is not None
10391039
)
10401040
return folded if len(folded) == len(expr.items) else None
10411041

0 commit comments

Comments
 (0)