summaryrefslogtreecommitdiffstats
path: root/Doc/howto
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-10-06 17:49:29 (GMT)
committerGitHub <noreply@github.com>2022-10-06 17:49:29 (GMT)
commit27a7fe319a46bb3e36f27a9efeaf061f2379dcd8 (patch)
treed8eba5635c3ccd5a47361da3f0030da2af4b7c78 /Doc/howto
parent4aa93afd6ef377c22cf9a8505a392f071ea4bc0e (diff)
downloadcpython-27a7fe319a46bb3e36f27a9efeaf061f2379dcd8.zip
cpython-27a7fe319a46bb3e36f27a9efeaf061f2379dcd8.tar.gz
cpython-27a7fe319a46bb3e36f27a9efeaf061f2379dcd8.tar.bz2
[3.11] gh-93738: Disallow pre-v3 syntax in the C domain (GH-97962) (#97976)
Also, disable using invalid sphinx-lint 0.6.2. (cherry picked from commit f612565bd32d4ab0945798da775eea070f08b6fe) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
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 8ee7e5e..2657b4e 100644
--- a/Doc/howto/isolating-extensions.rst
+++ b/Doc/howto/isolating-extensions.rst
@@ -411,7 +411,7 @@ that subclass, which may be defined in different module than yours.
pass
For a method to get its "defining class", it must use the
-:c:data:`METH_METHOD | METH_FASTCALL | METH_KEYWORDS`
+:data:`METH_METHOD | METH_FASTCALL | METH_KEYWORDS`
:c:type:`calling convention <PyMethodDef>`
and the corresponding :c:type:`PyCMethod` signature::