@@ -616,6 +616,11 @@ Process-wide parameters
616616 single: Py_FatalError()
617617 single: argv (in module sys)
618618
619+ This API is kept for backward compatibility: setting
620+ :c:member:`PyConfig.argv`, :c:member:`PyConfig.parse_argv` and
621+ :c:member:`PyConfig.safe_path` should be used instead, see :ref:`Python
622+ Initialization Configuration <init-config>`.
623+
619624 Set :data:`sys.argv` based on *argc* and *argv*. These parameters are
620625 similar to those passed to the program' s :c:func:`main` function with the
621626 difference that the first entry should refer to the script file to be
@@ -659,9 +664,15 @@ Process-wide parameters
659664 .. XXX impl. doesn't seem consistent in allowing ``0``/``NULL`` for the params;
660665 check w/ Guido.
661666
667+ .. deprecated :: 3.11
668+
662669
663670.. c :function :: void PySys_SetArgv (int argc, wchar_t **argv)
664671
672+ This API is kept for backward compatibility: setting
673+ :c:member: `PyConfig.argv ` and :c:member: `PyConfig.parse_argv ` should be used
674+ instead, see :ref: `Python Initialization Configuration <init-config >`.
675+
665676 This function works like :c:func: `PySys_SetArgvEx ` with *updatepath * set
666677 to ``1 `` unless the :program: `python ` interpreter was started with the
667678 :option: `-I `.
@@ -674,6 +685,8 @@ Process-wide parameters
674685
675686 .. versionchanged :: 3.4 The *updatepath* value depends on :option:`-I`.
676687
688+ .. deprecated :: 3.11
689+
677690
678691.. c :function :: void Py_SetPythonHome (const wchar_t *home)
679692
0 commit comments