June 8, 2019
3:08 a.m.
Steven D'Aprano <steve+python@pearwood.info> added the comment:
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),
Yes, I see that now.
then what did you think was the purpose of the second parameter of super(type, obj-or-type)?
Given super(T, obj).method the method object is bound to instance obj; how else could it return a bound method instead of an unbound one? ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue37176> _______________________________________