Fix #8032: autodoc: A typehint for inherited ivars is not shown

This tries to import the parent object for the instance attribute
to get type annotations for the variable.
This commit is contained in:
Takeshi KOMIYA
2020-08-01 22:23:33 +09:00
parent cc25bac264
commit 5d301b44b9
4 changed files with 31 additions and 0 deletions

View File

@@ -61,6 +61,8 @@ Bugs fixed
* #7983: autodoc: Generator type annotation is wrongly rendered in py36
* #8030: autodoc: An uninitialized annotated instance variable is not documented
when ``:inherited-members:`` option given
* #8032: autodoc: A type hint for the instance variable defined at parent class
is not shown in the document of the derived class
* #7839: autosummary: cannot handle umlauts in function names
* #7865: autosummary: Failed to extract summary line when abbreviations found
* #7866: autosummary: Failed to extract correct summary line when docstring