]> granicus.if.org Git - python/commitdiff
bpo-25777: Wording describes a lookup, not a call (GH-15573)
authorRaymond Hettinger <rhettinger@users.noreply.github.com>
Thu, 29 Aug 2019 05:59:43 +0000 (22:59 -0700)
committerGitHub <noreply@github.com>
Thu, 29 Aug 2019 05:59:43 +0000 (22:59 -0700)
Doc/howto/descriptor.rst

index 324625d7b3e80907df2a0d2bebc9ab564e46023a..6928917dbe4200317267923ce7d5494ae1aae7f3 100644 (file)
@@ -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