Skip to content

Commit 95f5af3

Browse files
fix mypy err
1 parent 13a89e0 commit 95f5af3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/irbuild/constant_fold.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def constant_fold_expr(builder: IRBuilder, expr: Expression) -> ConstantValue |
9696
isinstance(i, LiteralType) and isinstance(i.value, str)
9797
for i in expr_type.items
9898
):
99-
return folded_callee.join(i.value for i in expr_type.items)
99+
return folded_callee.join(i.value for i in expr_type.items) # type: ignore [attr-defined]
100100

101101
# builtins.bytes methods
102102
elif isinstance(folded_callee, bytes):

0 commit comments

Comments
 (0)