mirror of
https://github.com/python/cpython.git
synced 2025-07-21 18:25:22 +00:00
bpo-35489: Use "const Py_UNICODE *" for the Py_UNICODE converter in AC. (GH-11150)
This commit is contained in:
parent
7b36016a15
commit
afb3e71a17
9 changed files with 110 additions and 98 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue