Python Single Inheritance Example