1 2 3 4 5 6 7 8
class Base: attr1: int #: docstring attr2: str class Derived(Base): attr3: int #: docstring attr4: str