diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2022-05-07 21:21:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-07 19:21:11 +0100 |
commit | bd030b633f98ea5d9f93ef0105a51d2faf67070d (patch) | |
tree | 09b99a250f129f53b7ec21aba2f1b35d503659fc /Python/sysmodule.c | |
parent | 0924b95f6e678beaf4a059d679515956bac608fb (diff) | |
download | cpython-git-bd030b633f98ea5d9f93ef0105a51d2faf67070d.tar.gz |
gh-88279: Fix compiler warning for using deprecated PySys_SetArgvEx (#92428)
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r-- | Python/sysmodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index edd1d1f23f..4f8b4cc17f 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -3302,7 +3302,10 @@ PySys_SetArgvEx(int argc, wchar_t **argv, int updatepath) void PySys_SetArgv(int argc, wchar_t **argv) { +_Py_COMP_DIAG_PUSH +_Py_COMP_DIAG_IGNORE_DEPR_DECLS PySys_SetArgvEx(argc, argv, Py_IsolatedFlag == 0); +_Py_COMP_DIAG_POP } /* Reimplementation of PyFile_WriteString() no calling indirectly |