##// END OF EJS Templates
Fix inheritance_diagram Sphinx extension for Sphinx 1.2
Thomas Kluyver -
Show More
@@ -40,7 +40,9 b' except ImportError:'
40
40
41 from docutils.nodes import Body, Element
41 from docutils.nodes import Body, Element
42 from docutils.parsers.rst import directives
42 from docutils.parsers.rst import directives
43 from sphinx.roles import xfileref_role
43 from sphinx.roles import XRefRole
44
45 xfileref_role = XRefRole()
44
46
45 def my_import(name):
47 def my_import(name):
46 """Module importer - taken from the python documentation.
48 """Module importer - taken from the python documentation.
General Comments 0
You need to be logged in to leave comments. Login now