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. -- http://mail.python.org/mailman/listinfo/python-list