summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/browser.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/browser.py')
-rw-r--r--Lib/idlelib/browser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/browser.py b/Lib/idlelib/browser.py
index 10d9a72..4fe64dc 100644
--- a/Lib/idlelib/browser.py
+++ b/Lib/idlelib/browser.py
@@ -52,7 +52,7 @@ def transform_children(child_dict, modname=None):
# If obj.name != key, it has already been suffixed.
supers = []
for sup in obj.super:
- if type(sup) is type(''):
+ if isinstance(sup, str):
sname = sup
else:
sname = sup.name