We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90b41f0 commit 910a665Copy full SHA for 910a665
Doc/howto/descriptor.rst
@@ -119,7 +119,7 @@ The important points to remember are:
119
The object returned by ``super()`` also has a custom :meth:`__getattribute__`
120
method for invoking descriptors. The call ``super(B, obj).m()`` searches
121
``obj.__class__.__mro__`` for the base class ``A`` immediately following ``B``
122
-and then returns ``A.__dict__['m'].__get__(obj, A)``. If not a descriptor,
+and then returns ``A.__dict__['m'].__get__(obj, B)``. If not a descriptor,
123
``m`` is returned unchanged. If not in the dictionary, ``m`` reverts to a
124
search using :meth:`object.__getattribute__`.
125
0 commit comments