diff options
Diffstat (limited to 'Tools/idle/ClassBrowser.py')
-rw-r--r-- | Tools/idle/ClassBrowser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/idle/ClassBrowser.py b/Tools/idle/ClassBrowser.py index 338836a..f01f249 100644 --- a/Tools/idle/ClassBrowser.py +++ b/Tools/idle/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(''): |