We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8e5e942 + b199b22 commit f047164Copy full SHA for f047164
1 file changed
Doc/reference/datamodel.rst
@@ -1418,7 +1418,7 @@ Super Binding
1418
If ``a`` is an instance of :class:`super`, then the binding ``super(B,
1419
obj).m()`` searches ``obj.__class__.__mro__`` for the base class ``A``
1420
immediately preceding ``B`` and then invokes the descriptor with the call:
1421
- ``A.__dict__['m'].__get__(obj, A)``.
+ ``A.__dict__['m'].__get__(obj, obj.__class__)``.
1422
1423
For instance bindings, the precedence of descriptor invocation depends on the
1424
which descriptor methods are defined. A descriptor can define any combination
0 commit comments