Skip to content

Commit f331d03

Browse files
[3.13] Fix sphinx-lint warnings (default-role used). (GH-134647) (#134669)
Fix sphinx-lint warnings (default-role used). (GH-134647) (cherry picked from commit 24a4715) Co-authored-by: Julien Palard <[email protected]>
1 parent 698bf97 commit f331d03

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Doc/c-api/code.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ bound into a function.
182182
Type of a code object watcher callback function.
183183
184184
If *event* is ``PY_CODE_EVENT_CREATE``, then the callback is invoked
185-
after `co` has been fully initialized. Otherwise, the callback is invoked
185+
after *co* has been fully initialized. Otherwise, the callback is invoked
186186
before the destruction of *co* takes place, so the prior state of *co*
187187
can be inspected.
188188

Doc/c-api/function.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ There are a few functions specific to Python functions.
169169
unpredictable effects, including infinite recursion.
170170
171171
If *event* is ``PyFunction_EVENT_CREATE``, then the callback is invoked
172-
after `func` has been fully initialized. Otherwise, the callback is invoked
172+
after *func* has been fully initialized. Otherwise, the callback is invoked
173173
before the modification to *func* takes place, so the prior state of *func*
174174
can be inspected. The runtime is permitted to optimize away the creation of
175175
function objects when possible. In such cases no event will be emitted.

Doc/c-api/typeobj.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1187,7 +1187,7 @@ and :c:data:`PyType_Type` effectively act as defaults.)
11871187

11881188
.. c:macro:: Py_TPFLAGS_MANAGED_DICT
11891189
1190-
This bit indicates that instances of the class have a `~object.__dict__`
1190+
This bit indicates that instances of the class have a :attr:`~object.__dict__`
11911191
attribute, and that the space for the dictionary is managed by the VM.
11921192

11931193
If this flag is set, :c:macro:`Py_TPFLAGS_HAVE_GC` should also be set.

0 commit comments

Comments
 (0)