diff options
author | Géry Ogam <gery.ogam@gmail.com> | 2021-04-25 21:13:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-25 21:13:19 (GMT) |
commit | a1a5e3c4c83c3e3fe24c96ae22dfdedc7e23a1bb (patch) | |
tree | 1696e554485e17ef10d206624a3527594e88e11f /Doc | |
parent | f84f1b5c638eeb6e13c287fe5ebf3a7d2fdb60e9 (diff) | |
download | cpython-a1a5e3c4c83c3e3fe24c96ae22dfdedc7e23a1bb.zip cpython-a1a5e3c4c83c3e3fe24c96ae22dfdedc7e23a1bb.tar.gz cpython-a1a5e3c4c83c3e3fe24c96ae22dfdedc7e23a1bb.tar.bz2 |
Fix a typo in datamodel reference document (GH-24930)
Diffstat (limited to 'Doc')
-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 3b8780d..1697330 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -1772,7 +1772,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 |