summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/sys.rst
diff options
context:
space:
mode:
authorJulien Palard <julien@palard.fr>2022-05-13 12:10:16 (GMT)
committerGitHub <noreply@github.com>2022-05-13 12:10:16 (GMT)
commit664aa94b570a4a8f3535efb2e3d638a4ab655943 (patch)
treeea9539bab4dff8373927dd6363f56555607f4a13 /Doc/c-api/sys.rst
parent059b5baf98c9503d9d59c79fba117826caa5a3e1 (diff)
downloadcpython-664aa94b570a4a8f3535efb2e3d638a4ab655943.zip
cpython-664aa94b570a4a8f3535efb2e3d638a4ab655943.tar.gz
cpython-664aa94b570a4a8f3535efb2e3d638a4ab655943.tar.bz2
Document Py_ssize_t. (GH-92512)
It fixes 252 errors from a Sphinx nitpicky run (sphinx-build -n). But there's 8182 errors left. Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Diffstat (limited to 'Doc/c-api/sys.rst')
-rw-r--r--Doc/c-api/sys.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/sys.rst b/Doc/c-api/sys.rst
index 5e8d993..7b71467 100644
--- a/Doc/c-api/sys.rst
+++ b/Doc/c-api/sys.rst
@@ -348,7 +348,7 @@ accessible to C code. They all work with the current interpreter thread's
leaks.)
Note that ``#`` format characters should always be treated as
- ``Py_ssize_t``, regardless of whether ``PY_SSIZE_T_CLEAN`` was defined.
+ :c:type:`Py_ssize_t`, regardless of whether ``PY_SSIZE_T_CLEAN`` was defined.
:func:`sys.audit` performs the same function from Python code.
@@ -356,7 +356,7 @@ accessible to C code. They all work with the current interpreter thread's
.. versionchanged:: 3.8.2
- Require ``Py_ssize_t`` for ``#`` format characters. Previously, an
+ Require :c:type:`Py_ssize_t` for ``#`` format characters. Previously, an
unavoidable deprecation warning was raised.