If a sub-class of the parent class function overrides
This time you need to use ultra inheritance
Otherwise, function calls the parent class will complain
Write on the function of rewrite in
Such initialization function __init __ ()
def __init__():
super (subclass name, self) .__ init __ (in the parent class method requires the incoming parameters)