On Sep 6, 11:18 am, jelle <[EMAIL PROTECTED]> wrote:
> Ai, calling super(Abstract) is just getting object, sure...
>
> However, I'm still curious to know if there's a good idiom for
> repeating the argument in __init__ for the super(Concrete,
> self).__init__ ?
>
If you don't know what the arguments are, you can use *args and
**kwargs.
class Concrete(Abstract):
def __init__(self, *args, **kwargs):
super(Concrete, self).__init__(*args, **kwargs)
--
http://mail.python.org/mailman/listinfo/python-list