diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-03-30 07:01:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-30 07:01:03 (GMT) |
commit | 84b8e92e463bd6a5174bd3e5a6543580f6319c57 (patch) | |
tree | d8aeb7d0360e2e538ccafb0ecd26ea52a58d7aff /Doc/c-api/bytes.rst | |
parent | 576def096ec7b64814e038f03290031f172886c3 (diff) | |
download | cpython-84b8e92e463bd6a5174bd3e5a6543580f6319c57.zip cpython-84b8e92e463bd6a5174bd3e5a6543580f6319c57.tar.gz cpython-84b8e92e463bd6a5174bd3e5a6543580f6319c57.tar.bz2 |
bpo-29918: Add missed "const" modifiers in C API documentation. (#846)
Diffstat (limited to 'Doc/c-api/bytes.rst')
-rw-r--r-- | Doc/c-api/bytes.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/bytes.rst b/Doc/c-api/bytes.rst index ee42f85..f89cfa2 100644 --- a/Doc/c-api/bytes.rst +++ b/Doc/c-api/bytes.rst @@ -96,10 +96,10 @@ called with a non-bytes parameter. | :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 | |