Fix wrong class generated from option "any" reference

This commit is contained in:
Georg Brandl 2014-09-20 13:40:38 +02:00
parent 90d43569de
commit fbb8827345

View File

@ -643,7 +643,7 @@ class StandardDomain(Domain):
ltarget if role == 'ref' else target, ltarget if role == 'ref' else target,
node, contnode) node, contnode)
if res: if res:
results.append(('std:ref', res)) results.append(('std:' + role, res))
# all others # all others
for objtype in self.object_types: for objtype in self.object_types:
key = (objtype, target) key = (objtype, target)