summaryrefslogtreecommitdiffstats
path: root/Doc/howto
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2019-08-29 05:59:43 (GMT)
committerGitHub <noreply@github.com>2019-08-29 05:59:43 (GMT)
commit03acba6f1a851064ba1fa78965ece4354d499c04 (patch)
tree83b9a8bd3eeb6fddab91911268a2ec635abae844 /Doc/howto
parent3aa48b88c7485aca1fdfa54b3d8e53931ff067fd (diff)
downloadcpython-03acba6f1a851064ba1fa78965ece4354d499c04.zip
cpython-03acba6f1a851064ba1fa78965ece4354d499c04.tar.gz
cpython-03acba6f1a851064ba1fa78965ece4354d499c04.tar.bz2
bpo-25777: Wording describes a lookup, not a call (GH-15573)
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 324625d..6928917 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