If you had this, class KType( BaseType ): def __init__( self, *ar, **kwar ): self.setProp= True BaseType.__init__( self, *ar, **kwar )
a lot, and wanted a decorator, what would it be? What are the pros and cons? class KType( BaseType ): @basecall def __init__( self ): self.setProp= True What about calling first vs. last, base class order, certain bases, etc.? When is it easier to do without? -- http://mail.python.org/mailman/listinfo/python-list