summaryrefslogtreecommitdiffstats
path: root/Doc/howto
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-07-26 19:30:46 (GMT)
committerGitHub <noreply@github.com>2023-07-26 19:30:46 (GMT)
commit9f5a5f0b33479abcd1619fcc5ea3b8d0a31818f4 (patch)
tree5e9880a58e6dde4f7098714b92845be3cbe72158 /Doc/howto
parent0d2e1317bd4d13c1652a08c3ad8199c03387f73b (diff)
downloadcpython-9f5a5f0b33479abcd1619fcc5ea3b8d0a31818f4.zip
cpython-9f5a5f0b33479abcd1619fcc5ea3b8d0a31818f4.tar.gz
cpython-9f5a5f0b33479abcd1619fcc5ea3b8d0a31818f4.tar.bz2
[3.12] gh-107091: Fix some uses of :c:member: role (GH-107129) (GH-107310)
(cherry picked from commit af61cb9c7837ff3c11da79e3ee1cab3fdd0ba4da) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Doc/howto')
-rw-r--r--Doc/howto/isolating-extensions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/howto/isolating-extensions.rst b/Doc/howto/isolating-extensions.rst
index cc4a908..60854c3 100644
--- a/Doc/howto/isolating-extensions.rst
+++ b/Doc/howto/isolating-extensions.rst
@@ -467,7 +467,7 @@ Module State Access from Slot Methods, Getters and Setters
Slot methods—the fast C equivalents for special methods, such as
:c:member:`~PyNumberMethods.nb_add` for :py:attr:`~object.__add__` or
-:c:member:`~PyType.tp_new` for initialization—have a very simple API that
+:c:member:`~PyTypeObject.tp_new` for initialization—have a very simple API that
doesn't allow passing in the defining class, unlike with :c:type:`PyCMethod`.
The same goes for getters and setters defined with
:c:type:`PyGetSetDef`.