summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/type.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-07-23 11:50:21 (GMT)
committerGitHub <noreply@github.com>2023-07-23 11:50:21 (GMT)
commit95a82dcbe74d1ed226a3df0763546f27bd5a6f61 (patch)
tree0d8bb08b3aa8bcc9a20d48c25bb46f8d56fb3102 /Doc/c-api/type.rst
parent074fcf15fa13f09c85e27f53951ef84d02d95454 (diff)
downloadcpython-95a82dcbe74d1ed226a3df0763546f27bd5a6f61.zip
cpython-95a82dcbe74d1ed226a3df0763546f27bd5a6f61.tar.gz
cpython-95a82dcbe74d1ed226a3df0763546f27bd5a6f61.tar.bz2
[3.12] gh-107091: Fix the use of some C domain roles (GH-107092) (GH-107113)
(cherry picked from commit 08a228da05a7aec937b65eea21f4091fa3c6b5cf) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Doc/c-api/type.rst')
-rw-r--r--Doc/c-api/type.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/type.rst b/Doc/c-api/type.rst
index d9dcd22..553d86a 100644
--- a/Doc/c-api/type.rst
+++ b/Doc/c-api/type.rst
@@ -215,7 +215,7 @@ Type Objects
``Py_TYPE(self)`` may be a *subclass* of the intended class, and subclasses
are not necessarily defined in the same module as their superclass.
See :c:type:`PyCMethod` to get the class that defines the method.
- See :c:func:`PyType_GetModuleByDef` for cases when ``PyCMethod`` cannot
+ See :c:func:`PyType_GetModuleByDef` for cases when :c:type:`!PyCMethod` cannot
be used.
.. versionadded:: 3.9