Data Structures and Algorithms with Object-Oriented Design Patterns in Python
next up previous index

Inheritance

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.


next up previous index

Bruno Copyright © 2003, 2004 by Bruno R. Preiss, P.Eng. All rights reserved.