diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-12-14 09:19:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-14 09:19:51 (GMT) |
commit | afb3e71a1710c444fbe789b51df43ee16ee9ede7 (patch) | |
tree | 31c2164ceb03c23e1ce6a10c93a016693349f776 /Modules/posixmodule.c | |
parent | 7b36016a15aeed0d76a4c05a66203e6d7723aace (diff) | |
download | cpython-afb3e71a1710c444fbe789b51df43ee16ee9ede7.zip cpython-afb3e71a1710c444fbe789b51df43ee16ee9ede7.tar.gz cpython-afb3e71a1710c444fbe789b51df43ee16ee9ede7.tar.bz2 |
bpo-35489: Use "const Py_UNICODE *" for the Py_UNICODE converter in AC. (GH-11150)
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r-- | Modules/posixmodule.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index d05724a..0ea391e 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -4215,8 +4215,8 @@ Execute the command in a subshell. [clinic start generated code]*/ static long -os_system_impl(PyObject *module, Py_UNICODE *command) -/*[clinic end generated code: output=96c4dffee36dfb48 input=303f5ce97df606b0]*/ +os_system_impl(PyObject *module, const Py_UNICODE *command) +/*[clinic end generated code: output=5b7c3599c068ca42 input=303f5ce97df606b0]*/ { long result; Py_BEGIN_ALLOW_THREADS @@ -11224,8 +11224,9 @@ the underlying Win32 ShellExecute function doesn't work if it is. [clinic start generated code]*/ static PyObject * -os_startfile_impl(PyObject *module, path_t *filepath, Py_UNICODE *operation) -/*[clinic end generated code: output=912ceba79acfa1c9 input=63950bf2986380d0]*/ +os_startfile_impl(PyObject *module, path_t *filepath, + const Py_UNICODE *operation) +/*[clinic end generated code: output=66dc311c94d50797 input=63950bf2986380d0]*/ { HINSTANCE rc; |