Issue #10831: Document the new formats (%li, %lli, %zi)
This commit is contained in:
parent
6d970f4713
commit
0fbe22655b
|
@ -260,18 +260,27 @@ APIs:
|
|||
| :attr:`%ld` | long | Exactly equivalent to |
|
||||
| | | ``printf("%ld")``. |
|
||||
+-------------------+---------------------+--------------------------------+
|
||||
| :attr:`%li` | long | Exactly equivalent to |
|
||||
| | | ``printf("%li")``. |
|
||||
+-------------------+---------------------+--------------------------------+
|
||||
| :attr:`%lu` | unsigned long | Exactly equivalent to |
|
||||
| | | ``printf("%lu")``. |
|
||||
+-------------------+---------------------+--------------------------------+
|
||||
| :attr:`%lld` | long long | Exactly equivalent to |
|
||||
| | | ``printf("%lld")``. |
|
||||
+-------------------+---------------------+--------------------------------+
|
||||
| :attr:`%lli` | long long | Exactly equivalent to |
|
||||
| | | ``printf("%lli")``. |
|
||||
+-------------------+---------------------+--------------------------------+
|
||||
| :attr:`%llu` | unsigned long long | Exactly equivalent to |
|
||||
| | | ``printf("%llu")``. |
|
||||
+-------------------+---------------------+--------------------------------+
|
||||
| :attr:`%zd` | Py_ssize_t | Exactly equivalent to |
|
||||
| | | ``printf("%zd")``. |
|
||||
+-------------------+---------------------+--------------------------------+
|
||||
| :attr:`%zi` | Py_ssize_t | Exactly equivalent to |
|
||||
| | | ``printf("%zi")``. |
|
||||
+-------------------+---------------------+--------------------------------+
|
||||
| :attr:`%zu` | size_t | Exactly equivalent to |
|
||||
| | | ``printf("%zu")``. |
|
||||
+-------------------+---------------------+--------------------------------+
|
||||
|
@ -322,6 +331,9 @@ APIs:
|
|||
.. versionchanged:: 3.2
|
||||
Support for ``"%lld"`` and ``"%llu"`` added.
|
||||
|
||||
.. versionchanged:: 3.3
|
||||
Support for ``"%li"``, ``"%lli"`` and ``"%zi"`` added.
|
||||
|
||||
|
||||
.. c:function:: PyObject* PyUnicode_FromFormatV(const char *format, va_list vargs)
|
||||
|
||||
|
|
Loading…
Reference in New Issue