From 927e84dd638ebe46590b5fc9d68d209458a25b72 Mon Sep 17 00:00:00 2001 From: Yclept Nemo Date: Thu, 29 Jan 2015 12:58:12 -0500 Subject: [PATCH] Fix sphinx.ext.inheritance_diagram on python 3 --- sphinx/ext/inheritance_diagram.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx/ext/inheritance_diagram.py b/sphinx/ext/inheritance_diagram.py index 7775305f5..05eb15895 100644 --- a/sphinx/ext/inheritance_diagram.py +++ b/sphinx/ext/inheritance_diagram.py @@ -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.