Multiple hierarchie and method overloading
Philippe Martin
pmartin at snakecard.com
Mon Apr 24 19:56:11 EDT 2006
Hi,
I have something like this:
Class A:
def A_Func(self, p_param):
.....
Class B:
def A_Func(self):
.....
Class C (A,B):
A.__init__(self)
B.__init__(self)
.....
self.A_Func() #HERE I GET AN EXCEPTION "... takes at least 2 arguments (1
given).
I renamed A_Func(self) to fix that ... but is there a cleaner way around ?
Regards,
Philippe
More information about the Python-list
mailing list