What is super in python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is super in python?

we have many kinds of cool features in python. may i know is there any super class previlege in python just like other programming languages. I am new to python

27th Aug 2017, 2:10 AM
chityala venkatesh
chityala venkatesh - avatar
1 Answer
0
I think you shouldn't worry about this kind of thing yet. However, if you really want to know, super() calls the next class in the line of inheritance, based on the method resolution order (__mro__) attribute of the class who FIRST called super() You can learn more watching Raymond Hettinger's talk "super() made super" at PyCon2015 (I don't have a link, right now) Hope it helped.
27th Aug 2017, 4:52 AM
Amaras A
Amaras A - avatar