When we call super function to get proxy object of our parent class, why don’t we give ‘self’ as one of the parameter ?
Python Inheritance
hey @gautam75 ,
its because at the time when you call super()
, it automatically creates an object of the parent class. ( means there is no need to pass the self again. )
And hence there is no need to reference it again.
I hope this helped .