Skip to content

Commit 5506cba

Browse files
authored
fix: remove redundant .format() (#16288)
Originally this was added in 040f3ab revision at 562th line.
1 parent 1c218ea commit 5506cba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/codegen/emit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ def emit_cast(
686686
if likely:
687687
check = f"(likely{check})"
688688
self.emit_arg_check(src, dest, typ, check, optional)
689-
self.emit_lines(f" {dest} = {src};".format(dest, src), "else {")
689+
self.emit_lines(f" {dest} = {src};", "else {")
690690
self.emit_cast_error_handler(error, src, dest, typ, raise_exception)
691691
self.emit_line("}")
692692
elif is_none_rprimitive(typ):

0 commit comments

Comments
 (0)