summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/undo.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/undo.py')
-rw-r--r--Lib/idlelib/undo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/undo.py b/Lib/idlelib/undo.py
index 85ecffe..5f10c0f 100644
--- a/Lib/idlelib/undo.py
+++ b/Lib/idlelib/undo.py
@@ -309,7 +309,7 @@ class CommandSequence(Command):
s = self.__class__.__name__
strs = []
for cmd in self.cmds:
- strs.append(" %r" % (cmd,))
+ strs.append(f" {cmd!r}")
return s + "(\n" + ",\n".join(strs) + "\n)"
def __len__(self):