+ 4

Can someone explain to me clearly about this super() function?

10th Sep 2020, 4:00 PM
Sanchayeeta Saha
Sanchayeeta Saha - avatar
3 Answers
+ 6
TheĀ super()Ā functionĀ in Python makes class inheritance more manageable and extensible. The function returns a temporary object that allows reference to a parent class by the keywordĀ super. read this. https://www.educative.io/edpresso/what-is-super-in-python
10th Sep 2020, 4:05 PM
šŸ’«AsšŸ’«
šŸ’«AsšŸ’« - avatar
+ 3
super() calls the constructor of the parent class no argument or default constructor in inheritance hierarchy...
10th Sep 2020, 4:07 PM
Jayakrishna šŸ‡®šŸ‡³
+ 3
It's just a reference to parent class object from a derived class
10th Sep 2020, 4:51 PM
rahul negi
rahul negi - avatar