summaryrefslogtreecommitdiff
path: root/Doc/c-api
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/init.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 59af41bd5a..eb542de4d8 100644
--- a/Doc/c-api/init.rst
+++ b/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()