mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
gh-88279: Fix compiler warning for using deprecated PySys_SetArgvEx (#92428)
This commit is contained in:
parent
0924b95f6e
commit
bd030b633f
1 changed files with 3 additions and 0 deletions
|
@ -3302,7 +3302,10 @@ PySys_SetArgvEx(int argc, wchar_t **argv, int updatepath)
|
||||||
void
|
void
|
||||||
PySys_SetArgv(int argc, wchar_t **argv)
|
PySys_SetArgv(int argc, wchar_t **argv)
|
||||||
{
|
{
|
||||||
|
_Py_COMP_DIAG_PUSH
|
||||||
|
_Py_COMP_DIAG_IGNORE_DEPR_DECLS
|
||||||
PySys_SetArgvEx(argc, argv, Py_IsolatedFlag == 0);
|
PySys_SetArgvEx(argc, argv, Py_IsolatedFlag == 0);
|
||||||
|
_Py_COMP_DIAG_POP
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Reimplementation of PyFile_WriteString() no calling indirectly
|
/* Reimplementation of PyFile_WriteString() no calling indirectly
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue