mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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>
(cherry picked from commit 664aa94b57
)
Co-authored-by: Julien Palard <julien@palard.fr>
This commit is contained in:
parent
2e8b2d0ee2
commit
0c1795bd33
10 changed files with 31 additions and 24 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue