this confussion concerns these lessons:
Review of Classes Advanced Concepts
Here is the code:
class SortedList(list): def append(self, value): super().append(value) self.sort()
I mean to ask if super() as proxy object represents here the list class or the SortedList class?
First I thought it´s function called on method from parent class, but now it looks to me like it´s a function AND proxy object in one. So virtually two objects as function is object too.
Also the self parameter…is it a representation of method in a way that self = method? The .sort function called in the code is called on self. Does it mean it´s called on method append?
And dont start on some dunder methods. I wouldnt even know how to posit the question.
Can anyone with more understanding pls elaborate?