diff options
Diffstat (limited to 'Lib/idlelib/ClassBrowser.py')
-rw-r--r-- | Lib/idlelib/ClassBrowser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/ClassBrowser.py b/Lib/idlelib/ClassBrowser.py index 338836a..240394b 100644 --- a/Lib/idlelib/ClassBrowser.py +++ b/Lib/idlelib/ClassBrowser.py @@ -98,7 +98,7 @@ class ModuleBrowserTreeItem(TreeItem): for key, cl in dict.items(): if cl.module == name: s = key - if cl.super: + if hasattr(cl, 'super') and cl.super: supers = [] for sup in cl.super: if type(sup) is type(''): |