[Zope] how to initialize base class attributes
Rene Pijlman
rpijlman@wanadoo.nl
Sat, 07 Jul 2001 22:21:12 +0200
Aaron Payne wrote:
>The problem occurs when I initialize a worker instance. The statement=20
>Being.User.__init__(self, firstname, lastname, email) in the __init__=20
>method of the worker class raises a TypeError. I'm a bit confused since=
=20
>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.=20
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=E9 Pijlman