mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
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:
parent
23d2d534df
commit
7955bc01c0
3
CHANGES
3
CHANGES
@ -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.
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user