diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-12-12 13:55:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-12 13:55:04 +0200 |
commit | 4ae06c5337e01bdde28bce57b6b9166ad50947e3 (patch) | |
tree | 5e9e92f616bc452eb4096b56ea373fa8b46d2510 /Python/pathconfig.c | |
parent | 5ce0a2a100909104836f53a2c8823006ec46f8ad (diff) | |
download | cpython-git-4ae06c5337e01bdde28bce57b6b9166ad50947e3.tar.gz |
bpo-32241: Add the const qualifire to declarations of umodifiable strings. (#4748)
Diffstat (limited to 'Python/pathconfig.c')
-rw-r--r-- | Python/pathconfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/pathconfig.c b/Python/pathconfig.c index 6a03f7dca1..53ddfc997d 100644 --- a/Python/pathconfig.c +++ b/Python/pathconfig.c @@ -168,7 +168,7 @@ Py_SetPath(const wchar_t *path) void -Py_SetPythonHome(wchar_t *home) +Py_SetPythonHome(const wchar_t *home) { if (home == NULL) { return; @@ -189,7 +189,7 @@ Py_SetPythonHome(wchar_t *home) void -Py_SetProgramName(wchar_t *program_name) +Py_SetProgramName(const wchar_t *program_name) { if (program_name == NULL || program_name[0] == L'\0') { return; |