Block object and "sip.*" classes from the inheritance diagrams.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2012-07-18 07:04:07 +00:00
parent 26bfb0db4b
commit 810a202d80

View File

@@ -62,11 +62,15 @@ class InheritanceDiagram(object):
def recurse(cls):
nodename, fullname = self.class_name(cls)
if cls in [object] or nodename.startswith('sip.'):
return
baselist = []
all_classes[cls] = (nodename, fullname, baselist)
for base in cls.__bases__:
if base in [object] or self.class_name(base)[0].startswith('sip.'):
continue
baselist.append(self.class_name(base)[0])
if base not in all_classes:
recurse(base)