|
Data Structures and Algorithms
with Object-Oriented Design Patterns in Python |
In Python one class may be derived from another. The derived class inherits all the attributes of the base class. In addition, inherited attributes can be overridden in the derived class and attributes can be defined. You should understand how the Python virtual machine determines the code to execute when a particular method is called.