Commits

Georg Brandl committed ec62646

Fix a bug that prevented references in the rst domain.

Comments (0)

Files changed (1)

sphinx/domains/rst.py

 
         if not (typ, target) in objects:
             return None
-        return make_refnode(builder, fromdocname, objects[typ, target][0],
+        return make_refnode(builder, fromdocname, objects[typ, target],
                             target, contnode, target)
 
     def get_objects(self):