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

This commit is contained in:
Georg Brandl 2011-01-07 22:34:12 +01:00
parent 23d2d534df
commit 7955bc01c0
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,9 @@
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.

View File

@ -155,7 +155,7 @@ class InheritanceGraph(object):
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)