June 2001
Intermediate to advanced
416 pages
10h 24m
English
Polymorphism, or dynamic binding, is handled entirely through the attribute lookup process described for inheritance in the preceding section.Whenever a method is accessed as obj .method (), method is located by searching the _ _dict_ _ attribute of the instance, the instance’s class definition, and base classes, in that order. The first match found is used as the method.
Read now
Unlock full access