[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

super or not super?

Hi all!

Is there any difference between using the base class name or super to
call __init__ from base class?

class C1:
	def __init__(self):

class C2(C1):
	def __init__(self):
		C1.__init__(self) or super().__init__() ??

I have been using super, but I see some scripts where the base class
name is used.

Thanks for any comments.