Skip to content

Commit e0b7ab8

Browse files
committed
Don't over-use f-strings
1 parent 00b6a1f commit e0b7ab8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tools/cases_generator/generate_cases.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -589,15 +589,15 @@ def write_super(self, sup: SuperInstruction) -> None:
589589
first = True
590590
for comp in sup.parts:
591591
if not first:
592-
self.out.emit(f"NEXTOPARG();")
593-
self.out.emit(f"next_instr++;")
592+
self.out.emit("NEXTOPARG();")
593+
self.out.emit("next_instr++;")
594594
first = False
595595
comp.write_body(self.out, 0)
596596
if comp.instr.cache_offset:
597597
self.out.emit(f"next_instr += {comp.instr.cache_offset};")
598598

599599
self.write_stack_pokes(sup.stack, sup.initial_sp, sup.final_sp)
600-
self.out.emit(f"DISPATCH();")
600+
self.out.emit("DISPATCH();")
601601

602602
def write_macro(self, macro: MacroInstruction) -> None:
603603
"""Write code for a macro instruction."""

0 commit comments

Comments
 (0)