aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/idlelib/tree.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/tree.py')
-rw-r--r--Lib/idlelib/tree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/tree.py b/Lib/idlelib/tree.py
index 5947268f5c3..5f30f0f6092 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."""