class Base: attr1: int #: docstring attr2: str class Derived(Base): attr3: int #: docstring attr4: str