From: Alberto G. <alb...@gm...> - 2007-10-30 12:38:48
|
[...] > I write a class to > extend the myFrame class, and try to call the parent's __init__ from > within the extender's __init__. That is where it goes sour. I've > tried: > super(type(self), self).__init__() > super(type(self), self).__init__(self) > super(type(self), self).__init__(self, *args, **kwds) > > but I get: [...] When you use super(), you don't have to use "self" in the arg list. So try with: super(type(self), self).__init__(*args, **kwds) it should work... Alberto |