diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-12-12 11:55:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-12 11:55:04 (GMT) |
commit | 4ae06c5337e01bdde28bce57b6b9166ad50947e3 (patch) | |
tree | 5e9e92f616bc452eb4096b56ea373fa8b46d2510 /Doc | |
parent | 5ce0a2a100909104836f53a2c8823006ec46f8ad (diff) | |
download | cpython-4ae06c5337e01bdde28bce57b6b9166ad50947e3.zip cpython-4ae06c5337e01bdde28bce57b6b9166ad50947e3.tar.gz cpython-4ae06c5337e01bdde28bce57b6b9166ad50947e3.tar.bz2 |
bpo-32241: Add the const qualifire to declarations of umodifiable strings. (#4748)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/c-api/init.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index a3113a3..4ee61e8 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -338,7 +338,7 @@ Process-wide parameters .. versionadded:: 3.4 -.. c:function:: void Py_SetProgramName(wchar_t *name) +.. c:function:: void Py_SetProgramName(const wchar_t *name) .. index:: single: Py_Initialize() @@ -605,7 +605,7 @@ Process-wide parameters .. versionchanged:: 3.4 The *updatepath* value depends on :option:`-I`. -.. c:function:: void Py_SetPythonHome(wchar_t *home) +.. c:function:: void Py_SetPythonHome(const wchar_t *home) Set the default "home" directory, that is, the location of the standard Python libraries. See :envvar:`PYTHONHOME` for the meaning of the |