summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2022-06-26 10:11:19 (GMT)
committerGitHub <noreply@github.com>2022-06-26 10:11:19 (GMT)
commitad23df97edb09f5d824bc6b0d1cc89c1637023af (patch)
tree03d02f6b8693341af331e1487828a892ea914956 /Doc/c-api
parentf0f3a424afb00a15ce8c0140dd218f5b33929be6 (diff)
downloadcpython-ad23df97edb09f5d824bc6b0d1cc89c1637023af.zip
cpython-ad23df97edb09f5d824bc6b0d1cc89c1637023af.tar.gz
cpython-ad23df97edb09f5d824bc6b0d1cc89c1637023af.tar.bz2
[3.11] [doc] fix typo in reference to tp_descr_get and tp_descr_set (GH-94140) (GH-94293)
(cherry picked from commit 32d595fdcd4be8e1f41dcfe84ccf4de89fea3c3f) Co-authored-by: Max Bachmann <kontakt@maxbachmann.de> Co-authored-by: Max Bachmann <kontakt@maxbachmann.de>
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/typeobj.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst
index 903d5b5..11221f9 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 *)