diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-06-26 10:11:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-26 10:11:43 (GMT) |
commit | 3473a128d189cc88927f750f8bc7d4c064d1991f (patch) | |
tree | cd3d35277cf2d3c6b8eaa13f7778dd6f72d9b2ae /Doc | |
parent | 82f9041c0a608f4416d66340c18bbb45ae929860 (diff) | |
download | cpython-3473a128d189cc88927f750f8bc7d4c064d1991f.zip cpython-3473a128d189cc88927f750f8bc7d4c064d1991f.tar.gz cpython-3473a128d189cc88927f750f8bc7d4c064d1991f.tar.bz2 |
[doc] fix typo in reference to tp_descr_get and tp_descr_set (GH-94140)
(cherry picked from commit 32d595fdcd4be8e1f41dcfe84ccf4de89fea3c3f)
Co-authored-by: Max Bachmann <kontakt@maxbachmann.de>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/c-api/typeobj.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst index 6fcb4e0..3da1403 100644 --- a/Doc/c-api/typeobj.rst +++ b/Doc/c-api/typeobj.rst @@ -2522,11 +2522,11 @@ Slot Type typedefs .. c:type:: PyObject *(*descrgetfunc)(PyObject *, PyObject *, PyObject *) - See :c:member:`~PyTypeObject.tp_descrget`. + See :c:member:`~PyTypeObject.tp_descr_get`. .. c:type:: int (*descrsetfunc)(PyObject *, PyObject *, PyObject *) - See :c:member:`~PyTypeObject.tp_descrset`. + See :c:member:`~PyTypeObject.tp_descr_set`. .. c:type:: Py_hash_t (*hashfunc)(PyObject *) |