Skip to content

Commit 9156092

Browse files
Update constant_fold.py
1 parent 73c7d11 commit 9156092

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mypy/constant_fold.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,6 @@ def constant_fold_call_expr(
280280
arg_val = constant_fold_expr(arg, cur_mod_id)
281281
if arg_val is None:
282282
return None
283-
folded_strings.append(arg_val)
284-
return folded_callee.format(*folded_strings)
283+
folded_args.append(arg_val)
284+
return folded_callee.format(*folded_args)
285285
return None

0 commit comments

Comments
 (0)