total idiot question: +=, .=, etc...
Greg Ewing
greg.ewing at compaq.com
Tue Jun 29 00:13:34 EDT 1999
Tim Peters wrote:
>
> class A(B):
> def __init__(self, x, y, z):
> B.__init__(self, x, y, z)
>
> can be grating too
I could live with having to explicitly name the
superclass, provided something checked that the
class I named was actually a direct base class
of the one where the method is defined. That
way things would be less likely to break
mysteriously when I rearrange the class
hierarchy.
I'm still thinking about how to implement
this...
Greg
More information about the Python-list
mailing list