summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/debugobj.py
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2023-04-23 23:25:08 (GMT)
committerGitHub <noreply@github.com>2023-04-23 23:25:08 (GMT)
commitbd2dca035af88694e25fb060f984fbbcda82bed8 (patch)
treefed7d54ec1154ebc7390967d78c61e911509fae2 /Lib/idlelib/debugobj.py
parent7255bbd4a1841447a21c3eb74e4fd9e21818d833 (diff)
downloadcpython-bd2dca035af88694e25fb060f984fbbcda82bed8.zip
cpython-bd2dca035af88694e25fb060f984fbbcda82bed8.tar.gz
cpython-bd2dca035af88694e25fb060f984fbbcda82bed8.tar.bz2
gh-103668: Run pyugrade on idlelib (#103671)
--------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/idlelib/debugobj.py')
-rw-r--r--Lib/idlelib/debugobj.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/debugobj.py b/Lib/idlelib/debugobj.py
index 5a4c997..71d01c7 100644
--- a/Lib/idlelib/debugobj.py
+++ b/Lib/idlelib/debugobj.py
@@ -87,7 +87,7 @@ class SequenceTreeItem(ObjectTreeItem):
continue
def setfunction(value, key=key, object=self.object):
object[key] = value
- item = make_objecttreeitem("%r:" % (key,), value, setfunction)
+ item = make_objecttreeitem(f"{key!r}:", value, setfunction)
sublist.append(item)
return sublist