mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
actually apply the type conversion
This commit is contained in:
parent
bc25a3d136
commit
bafb24dd93
@ -978,6 +978,7 @@ class NumpyDocstring(GoogleDocstring):
|
||||
_name, _type = line, ''
|
||||
_name, _type = _name.strip(), _type.strip()
|
||||
_name = self._escape_args_and_kwargs(_name)
|
||||
_type = self._convert_type_spec(_type)
|
||||
|
||||
if prefer_type and not _type:
|
||||
_type, _name = _name, _type
|
||||
|
Loading…
Reference in New Issue
Block a user