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

nobody@nowhere.com nobody@nowhere.com
Tue, 20 Aug 2002 13:35:47 -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.