We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d57d86a commit a9c25cdCopy full SHA for a9c25cd
Lib/idlelib/browser.py
@@ -52,7 +52,7 @@ def transform_children(child_dict, modname=None):
52
# If obj.name != key, it has already been suffixed.
53
supers = []
54
for sup in obj.super:
55
- if type(sup) is type(''):
+ if isinstance(sup, str):
56
sname = sup
57
else:
58
sname = sup.name
0 commit comments