modifying inherited methods

Thomas Thiele thiele at
Fri May 19 06:31:12 EDT 2000

> 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
> class methods.

How many args do you have?
Why not give all args from A.__init__not used in B default values. So
you don't need to copy them.
Or put all the args together in a thing like a struct (for instance a
list) and create a default struct(list, tupel), so you need to handle
only one arg.

More information about the Python-list mailing list