Fix a bug that prevented references in the rst domain.

This commit is contained in:
Georg Brandl 2010-05-30 14:46:17 +02:00
parent 475c3ba93b
commit 3aa60e2833

View File

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