diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst index 903d5b5ca7e52c..11221f92d25f5e 100644 --- a/Doc/c-api/typeobj.rst +++ b/Doc/c-api/typeobj.rst @@ -2523,11 +2523,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 *)