On Fri, 20 Apr 2001 11:26:01 -0500, Guido van Rossum firstname.lastname@example.org wrote:
For regular methods it may be possible to avoid this simply by choosing non-conflicting names, but I seem to recall that Jim wanted to use class methods with certain special names (like __init__ or __getattr__?), and I have no idea how to do this without dropping the idea that x.spam(...) is C.spam(x, ...). So maybe that's the solution?
def __init__(self): self.spam = 1
def __init__(self): A.__init__(self) self.eggs = 2