Skip to content

Commit a489f39

Browse files
fix mypy err
1 parent fa9a811 commit a489f39

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
@@ -273,7 +273,7 @@ def constant_fold_call_expr(
273273
return folded_callee.join(folded_items)
274274
# --- str.format constant folding
275275
elif callee.name == "format":
276-
folded_args: list[str] = []
276+
folded_args: list[ConstantValue] = []
277277
for arg in expr.args:
278278
arg_val = constant_fold_expr(arg, cur_mod_id)
279279
if arg_val is None:

0 commit comments

Comments
 (0)