class Parent: """ :var attr: parent attr doc """ def __init__(self): self.attr = 0 class Child(Parent): """ :var attr: child attr doc """