Commits

Georg Brandl committed 3380245

Fix a bug in the inheritance diagram exception that caused base classes to be skipped if one of them is a builtin.

  • Participants
  • Parent commits cd96298

Comments (0)

Files changed (2)

 Release 1.0.7 (in development)
 ==============================
 
+* Fix a bug in the inheritance diagram exception that caused base
+  classes to be skipped if one of them is a builtin.
+
 * Fix general index links for C++ domain objects.
 
 * #332: Make admonition boundaries in LaTeX output visible.

sphinx/ext/inheritance_diagram.py

             all_classes[cls] = (nodename, fullname, baselist)
             for base in cls.__bases__:
                 if not show_builtins and base in builtins:
-                    return
+                    continue
                 baselist.append(self.class_name(base, parts))
                 if base not in all_classes:
                     recurse(base)