mirror of https://github.com/python/cpython
doucment that Py_SetPath copies its argument (closes #23110)
This commit is contained in:
parent
c8d94ba8f4
commit
b33bb89b1a
|
@ -245,6 +245,9 @@ Process-wide parameters
|
|||
:data:`sys.exec_prefix` to be empty. It is up to the caller to modify these
|
||||
if required after calling :c:func:`Py_Initialize`.
|
||||
|
||||
The path argument is copied internally, so the caller may free it after the
|
||||
call completes.
|
||||
|
||||
|
||||
.. c:function:: const char* Py_GetVersion()
|
||||
|
||||
|
|
Loading…
Reference in New Issue