summaryrefslogtreecommitdiffstats
path: root/Doc/howto/clinic.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/howto/clinic.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/howto/clinic.rst')
-rw-r--r--Doc/howto/clinic.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/howto/clinic.rst b/Doc/howto/clinic.rst
index 989527b..7959bc3 100644
--- a/Doc/howto/clinic.rst
+++ b/Doc/howto/clinic.rst
@@ -1347,7 +1347,7 @@ Here's the simplest example of a custom converter, from ``Modules/zlibmodule.c``
/*[python end generated code: output=da39a3ee5e6b4b0d input=35521e4e733823c7]*/
This block adds a converter to Argument Clinic named ``ssize_t``. Parameters
-declared as ``ssize_t`` will be declared as type ``Py_ssize_t``, and will
+declared as ``ssize_t`` will be declared as type :c:type:`Py_ssize_t`, and will
be parsed by the ``'O&'`` format unit, which will call the
``ssize_t_converter`` converter function. ``ssize_t`` variables
automatically support default values.