]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[doc] fix typo in reference to tp_descr_get and tp_descr_set (GH-94140)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 26 Jun 2022 10:11:43 +0000 (03:11 -0700)
committerGitHub <noreply@github.com>
Sun, 26 Jun 2022 10:11:43 +0000 (03:11 -0700)
(cherry picked from commit 32d595fdcd4be8e1f41dcfe84ccf4de89fea3c3f)

Co-authored-by: Max Bachmann <kontakt@maxbachmann.de>
Doc/c-api/typeobj.rst

index 6fcb4e0d1677b92f53ff4f0324b147667860fec9..3da1403be29fa7bf1d0e55619568e17f9e4c6240 100644 (file)
@@ -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 *)