summaryrefslogtreecommitdiffstats
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 eda2141..5caa81e 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -251,6 +251,9 @@ Process-wide parameters
Use :c:func:`Py_DecodeLocale` to decode a bytes string to get a
:c:type:`wchar_*` string.
+ The path argument is copied internally, so the caller may free it after the
+ call completes.
+
.. c:function:: const char* Py_GetVersion()