Re: Constructor class problem

2005-03-22 Thread Joal Heagney
Diez B. Roggisch wrote: Wolfgang wrote: Hi, I am a newbie and have to modify some python moduls. I get the followin error: TypeError: __init__() takes exactly 3 arguments (2 given) Here the code snippet: class gXconv: def __init__(self, pathValue): self.pathValue=pathValue self.__

Re: Constructor class problem

2005-03-21 Thread Diez B. Roggisch
Wolfgang wrote: > Hi, > I am a newbie and have to modify some python moduls. > I get the followin error: > TypeError: __init__() takes exactly 3 arguments (2 given) > > Here the code snippet: > class gXconv: > def __init__(self, pathValue): > self.pathValue=pathValue > self.__