[Tutor] difference between super() and parent.__init__()?

Alex Hall mehgcap at gmail.com
Fri Oct 21 23:46:07 CEST 2011


Hi all,
I am just curious: I have seen classes that are subclasses initialize
their parents through both super and parentClass.__init__. What is the
difference, if any, and is one "better" or "more pythonic" than the
other?

-- 
Have a great day,
Alex (msg sent from GMail website)
mehgcap at gmail.com; http://www.facebook.com/mehgcap


More information about the Tutor mailing list