9 Apr
2004
9 Apr
'04
12:28 p.m.
--- file A.py --- class CA: "class for my needs" def __init__(self, a=0): "init" self.__a=a --- file B.py --- from A import CA from OFS import SimpleItem class CB(SimpleItem.SimpleItem , CA ): "class B" def __init__(self, id, docN): "init" CA.__init__(self) self.id=id self.docN=docN On add object of CB Zope write: Site Error An error was encountered while publishing this resource. Error Type: TypeError Error Value: unbound method __init__() must be called with instance as first argument Where is this Error? Regard, Serg.