doucment that Py_SetPath copies its argument (closes #23110)

This commit is contained in:
Benjamin Peterson 2014-12-24 10:49:11 -06:00
parent c8d94ba8f4
commit b33bb89b1a
1 changed files with 3 additions and 0 deletions

View File

@ -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()