Browse Source

doucment that Py_SetPath copies its argument (closes #23110)

pull/9921/head
Benjamin Peterson 12 years ago
parent
commit
b33bb89b1a
  1. 3
      Doc/c-api/init.rst

3
Doc/c-api/init.rst

@ -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…
Cancel
Save