Skip to content

Commit

Permalink
repair white space
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorHaag committed Jun 18, 2019
1 parent 6a05435 commit e9ee39d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sphinx/directives/__init__.py
Expand Up @@ -77,10 +77,12 @@ def get_field_type_map(self):
for field in self.doc_field_types:
for name in field.names:
self._doc_field_type_map[name] = (field, False)

if field.is_typed:
typed_field = cast(TypedField, field)
for name in typed_field.typenames:
self._doc_field_type_map[name] = (field, True)

return self._doc_field_type_map

def get_signatures(self):
Expand Down

0 comments on commit e9ee39d

Please sign in to comment.