modifying inherited methods

Thomas Thiele thiele at muc.das-werk.de
Fri May 19 11:38:27 CEST 2000


Oh, sorry I misunderstand you.

But the other thing is easy as well.

class A:
    def __init__(self, a,b,c,d):
        .....

class B(A):
    def __init__(self, a,b):
        c = <defaultc>
        d= <defaultd>
        A.__init__(self, a,b,c,d)






More information about the Python-list mailing list