diff options
author | Victor Stinner <vstinner@python.org> | 2022-05-06 03:24:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-06 03:24:29 (GMT) |
commit | 299692afd8b8520383e6badeb907b285fc7c0909 (patch) | |
tree | 825d0469420265842ae5fa6ca3b61a766d0671d3 /Include | |
parent | 5f29268283aba12d4f2c83cab4966286e0ac5128 (diff) | |
download | cpython-299692afd8b8520383e6badeb907b285fc7c0909.zip cpython-299692afd8b8520383e6badeb907b285fc7c0909.tar.gz cpython-299692afd8b8520383e6badeb907b285fc7c0909.tar.bz2 |
gh-88279: Deprecate PySys_SetArgvEx() (#92363)
Deprecate the following C functions:
* PySys_SetArgv()
* PySys_SetArgvEx()
* PySys_SetPath()
Diffstat (limited to 'Include')
-rw-r--r-- | Include/sysmodule.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/sysmodule.h b/Include/sysmodule.h index 3463c62..b508711 100644 --- a/Include/sysmodule.h +++ b/Include/sysmodule.h @@ -10,9 +10,9 @@ extern "C" { PyAPI_FUNC(PyObject *) PySys_GetObject(const char *); PyAPI_FUNC(int) PySys_SetObject(const char *, PyObject *); -PyAPI_FUNC(void) PySys_SetArgv(int, wchar_t **); -PyAPI_FUNC(void) PySys_SetArgvEx(int, wchar_t **, int); -PyAPI_FUNC(void) PySys_SetPath(const wchar_t *); +Py_DEPRECATED(3.11) PyAPI_FUNC(void) PySys_SetArgv(int, wchar_t **); +Py_DEPRECATED(3.11) PyAPI_FUNC(void) PySys_SetArgvEx(int, wchar_t **, int); +Py_DEPRECATED(3.11) PyAPI_FUNC(void) PySys_SetPath(const wchar_t *); PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...) Py_GCC_ATTRIBUTE((format(printf, 1, 2))); |