mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #1696 from orbisvicis/master
Fix sphinx.ext.inheritance_diagram on python 3
This commit is contained in:
commit
018c3b6532
@ -186,7 +186,7 @@ class InheritanceGraph(object):
|
||||
for cls in classes:
|
||||
recurse(cls)
|
||||
|
||||
return all_classes.values()
|
||||
return list(all_classes.values())
|
||||
|
||||
def class_name(self, cls, parts=0):
|
||||
"""Given a class object, return a fully-qualified name.
|
||||
|
Loading…
Reference in New Issue
Block a user