From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 25 Apr 2021 21:36:57 +0000 (-0700) Subject: Fix a typo in datamodel reference document (GH-24930) X-Git-Tag: v3.9.5~48 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ab99b6a8baae33194de107685d5fd6d59d6eddf7;p=thirdparty%2FPython%2Fcpython.git Fix a typo in datamodel reference document (GH-24930) (cherry picked from commit a1a5e3c4c83c3e3fe24c96ae22dfdedc7e23a1bb) Co-authored-by: Géry Ogam --- diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 3b3bd5524ec5..46ee8ec3cba6 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -1773,7 +1773,7 @@ Super Binding immediately preceding ``B`` and then invokes the descriptor with the call: ``A.__dict__['m'].__get__(obj, obj.__class__)``. -For instance bindings, the precedence of descriptor invocation depends on the +For instance bindings, the precedence of descriptor invocation depends on which descriptor methods are defined. A descriptor can define any combination of :meth:`__get__`, :meth:`__set__` and :meth:`__delete__`. If it does not define :meth:`__get__`, then accessing the attribute will return the descriptor