All the examples in the tutorials are calling the base class methods directly rather than using super()
, for example:
class SquareApplication(Application):
def __init__(self, x):
self.to_square = x
Application.__init__(self, ...)
instead of:
class SquareApplication(Application):
def __init__(self, x):
self.to_square = x
super(SquareApplication, self).__init__(...)
I wonder why this is done.