summaryrefslogtreecommitdiffstats
path: root/Doc/howto
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-08-29 06:12:13 (GMT)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>2019-08-29 06:12:13 (GMT)
commitf3dca6acee609a3a12f22152fd98602c1cbadde0 (patch)
treeead385c30ffbc83c9fa8f6078cb8f19c38b93a7f /Doc/howto
parente009a91607e7a81302b98d1b322d564ddc1fce9d (diff)
downloadcpython-f3dca6acee609a3a12f22152fd98602c1cbadde0.zip
cpython-f3dca6acee609a3a12f22152fd98602c1cbadde0.tar.gz
cpython-f3dca6acee609a3a12f22152fd98602c1cbadde0.tar.bz2
bpo-25777: Wording describes a lookup, not a call (GH-15573) (GH-15576)
(cherry picked from commit 03acba6f1a851064ba1fa78965ece4354d499c04) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Diffstat (limited to 'Doc/howto')
-rw-r--r--Doc/howto/descriptor.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/howto/descriptor.rst b/Doc/howto/descriptor.rst
index b29e590..9856e6c 100644
--- a/Doc/howto/descriptor.rst
+++ b/Doc/howto/descriptor.rst
@@ -117,7 +117,7 @@ The important points to remember are:
* non-data descriptors may be overridden by instance dictionaries.
The object returned by ``super()`` also has a custom :meth:`__getattribute__`
-method for invoking descriptors. The call ``super(B, obj).m()`` searches
+method for invoking descriptors. The attribute lookup ``super(B, obj).m`` searches
``obj.__class__.__mro__`` for the base class ``A`` immediately following ``B``
and then returns ``A.__dict__['m'].__get__(obj, B)``. If not a descriptor,
``m`` is returned unchanged. If not in the dictionary, ``m`` reverts to a