How Inheritance Works In Python