I Require Help For Understanding super()
I understand how to use super() In subclass If they are not Written In init() method.
But If they are Implemented In init() method It becomes hard to read & understand.
Explain me what's happening Under the hood..
I know that init() method has only None return type.
class A:
def __init__(self, mess="mess_from_A"):
self.mess = mess
class B(A):
def __init__(self, m):
super().__init__(m)
#self.mess
print(B("aditya").mess)
print(B("yash").mess)