[Python-checkins] [doc] fix typo in reference to tp_descr_get and tp_descr_set (GH-94140)

miss-islington webhook-mailer at python.org
Sun Jun 26 06:12:05 EDT 2022


https://github.com/python/cpython/commit/3473a128d189cc88927f750f8bc7d4c064d1991f
commit: 3473a128d189cc88927f750f8bc7d4c064d1991f
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-06-26T03:11:43-07:00
summary:

[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 at maxbachmann.de>

files:
M Doc/c-api/typeobj.rst

diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst
index 6fcb4e0d1677b..3da1403be29fa 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 *)
 



More information about the Python-checkins mailing list