[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Extending Zope

webmaster@zope.org webmaster@zope.org
Fri, 27 Sep 2002 14:02:37 -0400


A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/CustomZopeObjects.stx#2-37

---------------

    Inheritance also lets you build generalization relationships
    between classes.  For example, you could create a class called
    'Animal' that contains information that all animals have in
    general.  Then, you could create *Reptile* and *Mammal* classes
    that both inherit from *Animal*.  Taking it even further, you
    could create two additional classes *Lizard* and *Snake* that both
    inherit from *Reptile*, as shown in [12-3].

      % Anonymous User - Aug. 20, 2002 1:35 pm:
       ...two additional classes Lizard and Snake that both inherit from Reptile, as shown in Figure 12-3. There are
       classes *Frog* and Snake inheriting from Reptile in fig 12-3.

      % Anonymous User - Sep. 5, 2002 1:37 pm:
       Uh ... frogs are amphibians, not reptiles.

      % Anonymous User - Sep. 27, 2002 2:02 pm:
       Any tricky problem on multiple inheritance ? method name resolution ? (when multiple implmentations)... I
       have big problems while inheriting from both a folder and a zobject