summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorJulien Palard <julien@palard.fr>2021-10-19 19:13:24 (GMT)
committerGitHub <noreply@github.com>2021-10-19 19:13:24 (GMT)
commitbda69abe849b37467350d3750ae24d356230c940 (patch)
tree1ad035050363383a9f85f6d3d99ca1fedb21daa5 /Doc/c-api
parent975b94b9de969777218e96a9950c1dab2dab65a0 (diff)
downloadcpython-bda69abe849b37467350d3750ae24d356230c940.zip
cpython-bda69abe849b37467350d3750ae24d356230c940.tar.gz
cpython-bda69abe849b37467350d3750ae24d356230c940.tar.bz2
[doc]: Fix missing space in c-api/init.rst and add rstlint rule (GH-28988)
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/init.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 5e81726..09dfc68 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -1177,7 +1177,7 @@ All of the following functions must be called after :c:func:`Py_Initialize`.
Suspend tracing and profiling in the Python thread state *tstate*.
- Resume them using the:c:func:`PyThreadState_LeaveTracing` function.
+ Resume them using the :c:func:`PyThreadState_LeaveTracing` function.
.. versionadded:: 3.11
@@ -1185,7 +1185,7 @@ All of the following functions must be called after :c:func:`Py_Initialize`.
.. c:function:: void PyThreadState_LeaveTracing(PyThreadState *tstate)
Resume tracing and profiling in the Python thread state *tstate* suspended
- by the:c:func:`PyThreadState_EnterTracing` function.
+ by the :c:func:`PyThreadState_EnterTracing` function.
See also :c:func:`PyEval_SetTrace` and :c:func:`PyEval_SetProfile`
functions.