i have a code like this:
class sampleClass(object):
def __init__(self):
super(sampleClass, self).__init__()
my question is that why it calls super of itself under __init__
?
i know that super is used for calling the parent class's __init__
, (if I'm wrong tell me) , but here what does it do ?