diff options
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/c-api/utilities.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/c-api/utilities.rst b/Doc/c-api/utilities.rst index 01c1ceb..8999316 100644 --- a/Doc/c-api/utilities.rst +++ b/Doc/c-api/utilities.rst @@ -484,6 +484,13 @@ variable(s) whose address should be passed. by interpreting their read-buffer pointer as pointer to a :ctype:`Py_UNICODE` array. +``Z`` (Unicode or ``None``) [Py_UNICODE \*] + Like ``s``, but the Python object may also be ``None``, in which case the C + pointer is set to *NULL*. + +``Z#`` (Unicode or ``None``) [Py_UNICODE \*, int] + This is to ``u#`` as ``Z`` is to ``u``. + ``es`` (string, Unicode object or character buffer compatible object) [const char \*encoding, char \*\*buffer] This variant on ``s`` is used for encoding Unicode and objects convertible to Unicode into a character buffer. It only works for encoded data without embedded |