diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-04-25 21:22:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-25 21:22:36 (GMT) |
commit | c3b63a5caa1ae2bbfa9733f997b991ec1e0af63f (patch) | |
tree | 4c929d76d6c0f20d3d4966145f38fcd29ab06635 | |
parent | d6322c9c459e2a06a08d41f95f6686ca4fa406c9 (diff) | |
download | cpython-c3b63a5caa1ae2bbfa9733f997b991ec1e0af63f.zip cpython-c3b63a5caa1ae2bbfa9733f997b991ec1e0af63f.tar.gz cpython-c3b63a5caa1ae2bbfa9733f997b991ec1e0af63f.tar.bz2 |
Fix a typo in datamodel reference document (GH-24930)
(cherry picked from commit a1a5e3c4c83c3e3fe24c96ae22dfdedc7e23a1bb)
Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
-rw-r--r-- | Doc/reference/datamodel.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index a2b3d4e..f71560d 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -1768,7 +1768,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 |