Inheritance doesn't work

J. Clifford Dyer webmaster at cacradicalgrace.org
Mon Dec 4 12:40:54 EST 2006


Fredrik Lundh wrote:
> John Salerno wrote:
> 
>> How do you get that error with that code?
> 
> $ python
> 
>>>> import os
>>>> class foo(os):
> ....     pass
> ....
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> TypeError: Error when calling the metaclass bases
>     module.__init__() takes at most 2 arguments (3 given)
> 
> </F>
> 

Sure, but I think the question was more about how code that references
"MandelbrotImage could yield a stack that references MandelImage.



More information about the Python-list mailing list