Skip to content

Commit

Permalink
pythongh-88279: Fix compiler warning for using deprecated PySys_SetAr…
Browse files Browse the repository at this point in the history
…gvEx (pythonGH-92428)

(cherry picked from commit bd030b6)

Co-authored-by: Serhiy Storchaka <[email protected]>
  • Loading branch information
serhiy-storchaka authored and miss-islington committed May 8, 2022
1 parent e89c01e commit ecaf642
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Python/sysmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ecaf642

Please sign in to comment.