modifying inherited methods
robin at jessikat.demon.co.uk
Fri May 19 06:14:51 EDT 2000
In article <39250B93.4710EB86 at muc.das-werk.de>, Thomas Thiele
<thiele at muc.das-werk.de> writes
>Oh, sorry I misunderstand you.
>But the other thing is easy as well.
> def __init__(self, a,b,c,d):
> def __init__(self, a,b):
> c = <defaultc>
> d= <defaultd>
> A.__init__(self, a,b,c,d)
yes the only problem is when A.__init__ has a lot of arguments
and you don't want to cut and paste these to a bunch of inheriting
More information about the Python-list