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

iritkatriel webhook-mailer at python.org
Sun Jun 26 06:03:02 EDT 2022


https://github.com/python/cpython/commit/32d595fdcd4be8e1f41dcfe84ccf4de89fea3c3f
commit: 32d595fdcd4be8e1f41dcfe84ccf4de89fea3c3f
branch: main
author: Max Bachmann <kontakt at maxbachmann.de>
committer: iritkatriel <1055913+iritkatriel at users.noreply.github.com>
date: 2022-06-26T11:02:29+01:00
summary:

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

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

diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst
index 7927e1eb129e9..d8d95bf0b6436 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 *)
 



More information about the Python-checkins mailing list