diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2023-04-24 02:25:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-23 19:25:08 -0400 |
commit | bd2dca035af88694e25fb060f984fbbcda82bed8 (patch) | |
tree | fed7d54ec1154ebc7390967d78c61e911509fae2 /Lib/idlelib/tree.py | |
parent | 7255bbd4a1841447a21c3eb74e4fd9e21818d833 (diff) | |
download | cpython-git-bd2dca035af88694e25fb060f984fbbcda82bed8.tar.gz |
gh-103668: Run pyugrade on idlelib (#103671)
---------
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/idlelib/tree.py')
-rw-r--r-- | Lib/idlelib/tree.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/tree.py b/Lib/idlelib/tree.py index 5947268f5c..5f30f0f609 100644 --- a/Lib/idlelib/tree.py +++ b/Lib/idlelib/tree.py @@ -32,7 +32,7 @@ except NameError: if os.path.isdir(_icondir): ICONDIR = _icondir elif not os.path.isdir(ICONDIR): - raise RuntimeError("can't find icon directory (%r)" % (ICONDIR,)) + raise RuntimeError(f"can't find icon directory ({ICONDIR!r})") def listicons(icondir=ICONDIR): """Utility to display the available icons.""" |