diff options
Diffstat (limited to 'sphinx/util/docfields.py')
-rw-r--r-- | sphinx/util/docfields.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/util/docfields.py b/sphinx/util/docfields.py index 9eafde0ac..c8e58f48a 100644 --- a/sphinx/util/docfields.py +++ b/sphinx/util/docfields.py @@ -142,6 +142,7 @@ class TypedField(GroupedField): par += self.make_xref(self.rolename, domain, fieldarg, nodes.strong) if fieldarg in types: par += nodes.Text(' (') + fieldtype = types[fieldarg] if len(fieldtype) == 1 and isinstance(fieldtype[0], nodes.Text): typename = u''.join(n.astext() for n in types[fieldarg]) par += self.make_xref(self.typerolename, domain, typename) |