Hybrid Inheritance in Python with example