summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/bytes.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/bytes.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/bytes.rst')
-rw-r--r--Doc/c-api/bytes.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/bytes.rst b/Doc/c-api/bytes.rst
index d47f042..7617487 100644
--- a/Doc/c-api/bytes.rst
+++ b/Doc/c-api/bytes.rst
@@ -84,8 +84,8 @@ called with a non-bytes parameter.
| :attr:`%lu` | unsigned long | Equivalent to |
| | | ``printf("%lu")``. [1]_ |
+-------------------+---------------+--------------------------------+
- | :attr:`%zd` | Py_ssize_t | Equivalent to |
- | | | ``printf("%zd")``. [1]_ |
+ | :attr:`%zd` | :c:type:`\ | Equivalent to |
+ | | Py_ssize_t` | ``printf("%zd")``. [1]_ |
+-------------------+---------------+--------------------------------+
| :attr:`%zu` | size_t | Equivalent to |
| | | ``printf("%zu")``. [1]_ |