]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-101100: Fix Sphinx warnings in `howto/isolating-extensions.rst` (GH-113493...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 26 Dec 2023 19:46:40 +0000 (20:46 +0100)
committerGitHub <noreply@github.com>
Tue, 26 Dec 2023 19:46:40 +0000 (19:46 +0000)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Doc/howto/isolating-extensions.rst
Doc/tools/.nitignore

index 835c0afad7c6c826abb9f624e5d85b3f3148dfa9..e35855deedbe5fa1facb6bb700f95bae59246c83 100644 (file)
@@ -337,7 +337,7 @@ That is, heap types should:
 
 - Have the :c:macro:`Py_TPFLAGS_HAVE_GC` flag.
 - Define a traverse function using ``Py_tp_traverse``, which
-  visits the type (e.g. using :c:expr:`Py_VISIT(Py_TYPE(self))`).
+  visits the type (e.g. using ``Py_VISIT(Py_TYPE(self))``).
 
 Please refer to the the documentation of
 :c:macro:`Py_TPFLAGS_HAVE_GC` and :c:member:`~PyTypeObject.tp_traverse`
@@ -482,7 +482,7 @@ The largest roadblock is getting *the class a method was defined in*, or
 that method's "defining class" for short. The defining class can have a
 reference to the module it is part of.
 
-Do not confuse the defining class with :c:expr:`Py_TYPE(self)`. If the method
+Do not confuse the defining class with ``Py_TYPE(self)``. If the method
 is called on a *subclass* of your type, ``Py_TYPE(self)`` will refer to
 that subclass, which may be defined in different module than yours.
 
index 8123ccff0158599c9a244b39066d32ef190772ef..e557df74800f902fdb00bcd746e57ae195489abd 100644 (file)
@@ -24,7 +24,6 @@ Doc/extending/extending.rst
 Doc/glossary.rst
 Doc/howto/descriptor.rst
 Doc/howto/enum.rst
-Doc/howto/isolating-extensions.rst
 Doc/howto/logging.rst
 Doc/howto/urllib2.rst
 Doc/library/2to3.rst