A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/Acquisition.stx#2-3
---------------
The *inheritance hierarchy* is defined by the class' superclass
definitions. In the case of the Sub class above, it has a simple
inheritance hierarchy: it inherits first from the SuperA
superclass, then it inherits from the SuperB superclass. This
means that if you call a method on an instance of the Sub class,
and that method is not defined as part of the Sub class'
definition, it will first search for the method in the SuperA
class and if it doesn't find it there, it will search in the
SuperB class.
% Anonymous User - Jan. 30, 2004 11:26 pm:
This is probably nitpicking, but you should probably explain that the order in which the superclasses are
named in the subclass definition is what is important, not the fact that 'A' comes before 'B' in the alphabet
(which an unsuspecting reader might assume).
_______________________________________________
ZDP maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zdp
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.