class A: def my_method(self): return "Method Called" class B(A): def my_other_method(self): return "Other Method Called" class C: def __init__(self): self.a = A() def my_method(self): return self.a.my_method() def my_other_method(self): return "Other Method Called"