diff options
Diffstat (limited to 'Doc/c-api/unicode.rst')
-rw-r--r-- | Doc/c-api/unicode.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst index c37734c..c743e57 100644 --- a/Doc/c-api/unicode.rst +++ b/Doc/c-api/unicode.rst @@ -490,10 +490,10 @@ APIs: | :attr:`%x` | int | Exactly equivalent to | | | | ``printf("%x")``. | +-------------------+---------------------+--------------------------------+ - | :attr:`%s` | char\* | A null-terminated C character | + | :attr:`%s` | const char\* | A null-terminated C character | | | | array. | +-------------------+---------------------+--------------------------------+ - | :attr:`%p` | void\* | The hex representation of a C | + | :attr:`%p` | const void\* | The hex representation of a C | | | | pointer. Mostly equivalent to | | | | ``printf("%p")`` except that | | | | it is guaranteed to start with | @@ -506,8 +506,8 @@ APIs: +-------------------+---------------------+--------------------------------+ | :attr:`%U` | PyObject\* | A unicode object. | +-------------------+---------------------+--------------------------------+ - | :attr:`%V` | PyObject\*, char \* | A unicode object (which may be | - | | | *NULL*) and a null-terminated | + | :attr:`%V` | PyObject\*, | A unicode object (which may be | + | | const char\* | *NULL*) and a null-terminated | | | | C character array as a second | | | | parameter (which will be used, | | | | if the first parameter is | |