]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] 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:47:16 +0000 (20:47 +0100)
committerGitHub <noreply@github.com>
Tue, 26 Dec 2023 19:47:16 +0000 (19:47 +0000)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Doc/howto/isolating-extensions.rst
Doc/tools/.nitignore

index 0d4caf3049ec72d737064c50024a3946738ce77c..a2a1f6eb0cfa73e77d7b133b6dd45bd7237ccca2 100644 (file)
@@ -335,7 +335,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`
@@ -480,7 +480,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 a69b64ab2d79385c93735c5cd2ad47868f0d7218..892ead429ec1c2acbe1ccbfdc5861c5df7a31cf6 100644 (file)
@@ -23,7 +23,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/ast.rst