This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients docs@python, rhettinger, softwoehr
Date 2020-09-26.21:01:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1601154102.6.0.882491848462.issue41865@roundup.psfhosted.org>
In-reply-to
Content
The primary documentation for super() is here:
https://docs.python.org/3/library/functions.html#super

At the bottom it references a guide to using super() that you might find helpful:
https://rhettinger.wordpress.com/2011/05/26/super-considered-super/

The standard library source code has many examples.  In particular, the argparse module makes heavy use of super():
https://github.com/python/cpython/blob/3.8/Lib/argparse.py

The tutorial provides some light discussion:
https://docs.python.org/3/tutorial/classes.html#multiple-inheritance

There is also an FAQ entry:
https://docs.python.org/3/faq/programming.html#how-do-i-call-a-method-defined-in-a-base-class-from-a-derived-class-that-overrides-it

There is also extensive coverage on StackOverflow:
https://stackoverflow.com/search?q=%5Bpython%5D+super

Hope you find these links helpful.
History
Date User Action Args
2020-09-26 21:01:42rhettingersetrecipients: + rhettinger, docs@python, softwoehr
2020-09-26 21:01:42rhettingersetmessageid: <1601154102.6.0.882491848462.issue41865@roundup.psfhosted.org>
2020-09-26 21:01:42rhettingerlinkissue41865 messages
2020-09-26 21:01:42rhettingercreate