Skip to content

Commit f3dca6a

Browse files
bpo-25777: Wording describes a lookup, not a call (GH-15573) (GH-15576)
(cherry picked from commit 03acba6) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
1 parent e009a91 commit f3dca6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/howto/descriptor.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ The important points to remember are:
117117
* non-data descriptors may be overridden by instance dictionaries.
118118

119119
The object returned by ``super()`` also has a custom :meth:`__getattribute__`
120-
method for invoking descriptors. The call ``super(B, obj).m()`` searches
120+
method for invoking descriptors. The attribute lookup ``super(B, obj).m`` searches
121121
``obj.__class__.__mro__`` for the base class ``A`` immediately following ``B``
122122
and then returns ``A.__dict__['m'].__get__(obj, B)``. If not a descriptor,
123123
``m`` is returned unchanged. If not in the dictionary, ``m`` reverts to a

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy