[Python-checkins] [3.11] [doc] fix typo in reference to tp_descr_get and tp_descr_set (GH-94140) (GH-94293)
iritkatriel
webhook-mailer at python.org
Sun Jun 26 06:11:23 EDT 2022
https://github.com/python/cpython/commit/ad23df97edb09f5d824bc6b0d1cc89c1637023af
commit: ad23df97edb09f5d824bc6b0d1cc89c1637023af
branch: 3.11
author: Irit Katriel <1055913+iritkatriel at users.noreply.github.com>
committer: iritkatriel <1055913+iritkatriel at users.noreply.github.com>
date: 2022-06-26T11:11:19+01:00
summary:
[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 at maxbachmann.de>
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 903d5b5ca7e52..11221f92d25f5 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