Aug-14-2017, 05:21 PM
(official doc on super)
A very good explanation can be found here: https://www.blog.pythonlibrary.org/2014/...-is-super/
Personally, I try not to use *args and **kwargs as they hide the attributes that are being used.
Quote:Return a proxy object that delegates method calls to a parent or sibling class of type. This is useful for accessing inherited methods that have been overridden in a class. The search order is same as that used by
[url=https://docs.python.org/2/library/functions.html#getattr]getattr()[/url]except that the type itself is skipped.
A very good explanation can be found here: https://www.blog.pythonlibrary.org/2014/...-is-super/
Personally, I try not to use *args and **kwargs as they hide the attributes that are being used.