I am new to python and migrating from C++ to python.
class B:
def __init__(self):
print "Constructor B was called"
class C(B):
def __init__(self):
print "Constructor C was called"
c = C()
output of the above program is
Constructor C was called
expected output
Constructor B was called
Constructor C was called
why parent constructor is not called like it would have been called in C++ .