Re: initializing cooperative method

2007-09-06 Thread Jonathan Gardner
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 argumen

Re: initializing cooperative method

2007-09-06 Thread jelle
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__ ? Thanks, -jelle -- http://mail.python.org/mailman/listinfo/python-list

Re: initializing cooperative method

2007-09-06 Thread jelle
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__ ? Thanks, -jelle -- http://mail.python.org/mailman/listinfo/python-list

Re: initializing cooperative method

2007-09-06 Thread Steven D'Aprano
On Thu, 06 Sep 2007 16:12:11 +, jelle wrote: > Hi, > > I'm writing a bunch of abstract classes and I'd like to delegate the > arguments of the concrete class the to abstract one. I was surprised to > see that the print statement in the abstract class isn't executed. But > moreover, I'd like t

initializing cooperative method

2007-09-06 Thread jelle
Hi, I'm writing a bunch of abstract classes and I'd like to delegate the arguments of the concrete class the to abstract one. I was surprised to see that the print statement in the abstract class isn't executed. But moreover, I'd like to find out an idiom that allows one to delegate arguments in t