summaryrefslogtreecommitdiffstats
path: root/Doc/howto
diff options
context:
space:
mode:
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>2022-10-06 17:11:37 (GMT)
committerGitHub <noreply@github.com>2022-10-06 17:11:37 (GMT)
commitf612565bd32d4ab0945798da775eea070f08b6fe (patch)
tree7871359614669cb0ece5361259c8b302326694c4 /Doc/howto
parentcd0fde27f9657266a0fb5782a5234678f2cf4662 (diff)
downloadcpython-f612565bd32d4ab0945798da775eea070f08b6fe.zip
cpython-f612565bd32d4ab0945798da775eea070f08b6fe.tar.gz
cpython-f612565bd32d4ab0945798da775eea070f08b6fe.tar.bz2
gh-93738: Disallow pre-v3 syntax in the C domain (#97962)
Also, disable using invalid sphinx-lint 0.6.2.
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::