Python rtypes should match classes, not all objects

This commit is contained in:
Sam Park 2017-07-15 14:30:39 -07:00
parent d59fdda8c9
commit 5873c9644d

View File

@ -189,7 +189,7 @@ class PyObject(ObjectDescription):
Field('returnvalue', label=l_('Returns'), has_arg=False,
names=('returns', 'return')),
PyField('returntype', label=l_('Return type'), has_arg=False,
names=('rtype',), bodyrolename='obj'),
names=('rtype',), bodyrolename='class'),
]
allow_nesting = False