[Zope] inheriting from an Image object
Dieter Maurer
dieter at handshake.de
Fri Sep 5 22:49:58 EDT 2003
Daniel Ajoy wrote at 2003-9-3 17:55 -0500:
> When I make a ZClass that inherits from an image object and I
> make one instance. The instance doesn't have the "add" form of
> Image by default. Should it? I think it should.
>
> Am I doing something wrong?
Maybe, you do not explain your problem correctly?
The "add" form does not belong to the class/instance (as it must
be there before the instance is created; Python until
2.2 has not had class methods but only instance methods).
Therefore, the "add" form is not inherited by a derived class.
Dieter
More information about the Zope
mailing list