diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-04-24 01:09:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-24 01:09:46 (GMT) |
commit | 5054459678db1f9737e31b96a859112dbac98c52 (patch) | |
tree | 68abcce9e4295ab2c6c42342345406d0bd3c6006 /Lib/idlelib/undo.py | |
parent | 7b2ac6cf3dd33d591d0e14a020c84aa331d29932 (diff) | |
download | cpython-5054459678db1f9737e31b96a859112dbac98c52.zip cpython-5054459678db1f9737e31b96a859112dbac98c52.tar.gz cpython-5054459678db1f9737e31b96a859112dbac98c52.tar.bz2 |
[3.11] gh-103668: Run pyugrade on idlelib (GH-103671) (#103730)
---------
(cherry picked from commit bd2dca035af88694e25fb060f984fbbcda82bed8)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Terry Jan Reedy tjreedy@udel.edu
Diffstat (limited to 'Lib/idlelib/undo.py')
-rw-r--r-- | Lib/idlelib/undo.py | 2 |
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): |