mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Unintentionally, uninitialized attributes defined at superclasses are recognized as undocumented in the filtering step. Therefore, they are filtered if `:undoc-members:` option given.
9 lines
123 B
Python
9 lines
123 B
Python
class Base:
|
|
attr1: int #: docstring
|
|
attr2: str
|
|
|
|
|
|
class Derived(Base):
|
|
attr3: int #: docstring
|
|
attr4: str
|