summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-05-31 17:52:33 (GMT)
committerGitHub <noreply@github.com>2023-05-31 17:52:33 (GMT)
commitdd29ae26f89ba7db596127b6eba83bb3a45c167b (patch)
treeac7749dd289eefe2388b6316b32bcbd503ae3c9a /Modules/posixmodule.c
parentc05c31db8c9dfd708b9857bb57f8e5f3ce40266d (diff)
downloadcpython-dd29ae26f89ba7db596127b6eba83bb3a45c167b.zip
cpython-dd29ae26f89ba7db596127b6eba83bb3a45c167b.tar.gz
cpython-dd29ae26f89ba7db596127b6eba83bb3a45c167b.tar.bz2
gh-105156: Argument Clinic avoids Py_UNICODE type (#105161)
Argument Clinic now uses "const wchar_t*" type instead of "const Py_UNICODE*" type for the "Py_UNICODE" format.
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 8a0c160..1960c63 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -5650,8 +5650,8 @@ Execute the command in a subshell.
[clinic start generated code]*/
static long
-os_system_impl(PyObject *module, const Py_UNICODE *command)
-/*[clinic end generated code: output=5b7c3599c068ca42 input=303f5ce97df606b0]*/
+os_system_impl(PyObject *module, const wchar_t *command)
+/*[clinic end generated code: output=dd528cbd5943a679 input=303f5ce97df606b0]*/
{
long result;
@@ -13571,9 +13571,9 @@ the underlying Win32 ShellExecute function doesn't work if it is.
static PyObject *
os_startfile_impl(PyObject *module, path_t *filepath,
- const Py_UNICODE *operation, const Py_UNICODE *arguments,
+ const wchar_t *operation, const wchar_t *arguments,
path_t *cwd, int show_cmd)
-/*[clinic end generated code: output=3baa4f9795841880 input=8248997b80669622]*/
+/*[clinic end generated code: output=1c6f2f3340e31ffa input=8248997b80669622]*/
{
HINSTANCE rc;