In Python 2.0 this works without "apply".

Oleg Broytmann phd at
Thu May 31 11:08:53 EDT 2001

On Thu, 31 May 2001, Laura Creighton wrote:
> Please write me the line of code.  Mine doesn't work.

   (Please note - I am replying to the newsgroup, too)

class XXX:
   def __init__(self, **kw):
      print kw

class YYY(XXX):
   def __init__(self, **kw):
      XXX.__init__(self, **kw)

yyy = YYY(a=1, b=2, c='3')

   Worked in 2.0.

     Oleg Broytmann              phd at
           Programmers don't die, they just GOSUB without RETURN.

More information about the Python-list mailing list