[docs] [issue37176] super() docs don't say what super() does

Géry report at bugs.python.org
Fri Jun 7 11:21:15 EDT 2019


Géry <gery.ogam at gmail.com> added the comment:

@Steven D'Aprano

> What matters is the __mro__ attribute of the first argument. It matters 
because that is how the MRO actually is searched.

By the way, if it was true (it is not), then what did you think was the purpose of the second parameter of super(type, obj-or-type)?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37176>
_______________________________________


More information about the docs mailing list