7 Jul
2001
7 Jul
'01
8:21 p.m.
Aaron Payne wrote:
The problem occurs when I initialize a worker instance. The statement Being.User.__init__(self, firstname, lastname, email) in the __init__ method of the worker class raises a TypeError. I'm a bit confused since this statement works in plain python. [snip] Error Type: TypeError Error Value: unbound method must be called with class instance 1st argument
Here is someone who had the same problem: http://lists.zope.org/pipermail/zope/1999-April/087346.html. And he says he's found the answer: http://lists.zope.org/pipermail/zope/1999-April/087347.html But even if that works, it still needs an explanation... Regards, René Pijlman