Index: c-api/init.rst =================================================================== --- c-api/init.rst (revision 74793) +++ c-api/init.rst (working copy) @@ -366,13 +366,16 @@ check w/ Guido. -.. cfunction:: void Py_SetPythonHome(char *home) +.. cfunction:: void Py_SetPythonHome(wchar_t *home) Set the default "home" directory, that is, the location of the standard Python libraries. The libraries are searched in :file:`{home}/lib/python{version}` and :file:`{home}/lib/python{version}`. + Also note that the home argument can't be freed after calling and should + not use a variable on the stack unless its static. + .. cfunction:: char* Py_GetPythonHome() Return the default "home", that is, the value set by a previous call to