mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
doucment that Py_SetPath copies its argument (closes #23110)
This commit is contained in:
parent
c8d94ba8f4
commit
b33bb89b1a
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue