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/sys.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/sys.rst')
-rw-r--r-- | Doc/c-api/sys.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/sys.rst b/Doc/c-api/sys.rst index 035cdc1..bc00aa1 100644 --- a/Doc/c-api/sys.rst +++ b/Doc/c-api/sys.rst @@ -136,7 +136,7 @@ accessible to C code. They all work with the current interpreter thread's Reset :data:`sys.warnoptions` to an empty list. -.. c:function:: void PySys_AddWarnOption(wchar_t *s) +.. c:function:: void PySys_AddWarnOption(const wchar_t *s) Append *s* to :data:`sys.warnoptions`. @@ -144,7 +144,7 @@ accessible to C code. They all work with the current interpreter thread's Append *unicode* to :data:`sys.warnoptions`. -.. c:function:: void PySys_SetPath(wchar_t *path) +.. c:function:: void PySys_SetPath(const wchar_t *path) Set :data:`sys.path` to a list object of paths found in *path* which should be a list of paths separated with the platform's search path delimiter |