Наследование классов (Inheritance)

Дочерний класс указывает родителя в круглых скобках:

class Animal:
    def sound(self):
        return "..."
class Dog(Animal):
    def sound(self):
        return "Гав!"