[Tutor] Re: Inheritance and *args and **kw

Art Siegel ajs@ix.netcom.com
Mon, 26 Jul 1999 11:02:32 -0400


I create a class with only *args constructors which are handled in the
class' def __init__.

I inherit from the class and try to add **kw args in the sub-classes def
__init__.

But in creating an instance of the the sub-class the kw dictionary is now an
element of a tuple passed as a single argument, rather than a tuple of *args
and a dictionary of *kw.

I think the above is probably inconherent. If anybody can see what I am
driving at, help is appreciated.

I will try to follow up with a snippet to clarify my issue