Heya,

I'm sure I've worked out how to to this in the past, but the syntax is escaping me right now.


class DooHicky(object):
    def __init__(self, arg1=None, arg2=None):
      pass

class Thingo(DooHicky):
    def __init__(self, value=None, *args, **kwargs):
        self.value = value
        super(Thingo, self).__init__(self, *args, **kwargs)


Basically, I want to pass in an argument to my "Thingo" class which does not get passed back to the parent constructor.

Any ideas / pointers?

Cheers
-D
_______________________________________________
sapug mailing list
[email protected]
http://mail.python.org/mailman/listinfo/sapug

Reply via email to