Skip to content

Commit 147e24c

Browse files
committed
fix mypy err
1 parent 26b76e5 commit 147e24c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/constant_fold.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def constant_fold_expr(expr: Expression, cur_mod_id: str) -> ConstantValue | Non
9898
return folded_callee.join(folded_items)
9999
# --- str.format constant folding
100100
elif callee.name == "format":
101-
folded_args: list[str] = []
101+
folded_args: list[ConstantValue] = []
102102
for arg in expr.args:
103103
arg_val = constant_fold_expr(arg, cur_mod_id)
104104
if arg_val is None:

0 commit comments

Comments
 (0)