Fix #8800: autodoc: Uninitialized attributes in superclass are recognized as undocumented

Unintentionally, uninitialized attributes defined at superclasses are
recognized as undocumented in the filtering step.  Therefore, they are
filtered if `:undoc-members:` option given.
This commit is contained in:
Takeshi KOMIYA
2021-01-31 19:21:15 +09:00
parent 7ca279e33a
commit 6d8c9183fa
4 changed files with 97 additions and 9 deletions

View File

@@ -77,6 +77,8 @@ Bugs fixed
contains invalid type comments
* #8693: autodoc: Default values for overloaded functions are rendered as string
* #8134: autodoc: crashes when mocked decorator takes arguments
* #8800: autodoc: Uninitialized attributes in superclass are recognized as
undocumented
* #8306: autosummary: mocked modules are documented as empty page when using
:recursive: option
* #8232: graphviz: Image node is not rendered if graph file is in subdirectory