On Wed, Jun 11, 2008 at 7:20 PM, claxo <[EMAIL PROTECTED]> wrote:
>>OTOH why are you calling object.__init__() ? I don't think that is
> needed...  >Kent
>
> I dont know what object may do in his __init__ method, so at least calling
> object.__init__(self) seems sensible.  Also, the same page advises against
> not calling object.__init__.

What page is that?

This thread has both points of view:
http://coding.derkeiler.com/Archive/Python/comp.lang.python/2004-12/4599.html

I think if you are using super() then your classes that inherit from
object still need to call super().__init__(). If you are not using
super I don't think it matters.

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to