mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
repair white space
This commit is contained in:
parent
6a054355d9
commit
e9ee39d655
@ -77,10 +77,12 @@ class ObjectDescription(SphinxDirective):
|
||||
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):
|
||||
|
Loading…
Reference in New Issue
Block a user