From: Benjamin Peterson Date: Tue, 15 Sep 2009 03:38:09 +0000 (+0000) Subject: Merged revisions 74794 via svnmerge from X-Git-Tag: v3.1.2rc1~535 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b8f68ee7af810be4561c540380ea107b7cd79d6c;p=thirdparty%2FPython%2Fcpython.git Merged revisions 74794 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r74794 | benjamin.peterson | 2009-09-14 22:34:15 -0500 (Mon, 14 Sep 2009) | 1 line Py_(Set|Get)PythonHome use wchar_t #6913 ........ --- diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index 6e185faffa2b..b2baab5efb32 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -366,14 +366,14 @@ Initialization, Finalization, and Threads 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}`. -.. cfunction:: char* Py_GetPythonHome() +.. cfunction:: w_char* Py_GetPythonHome() Return the default "home", that is, the value set by a previous call to :cfunc:`Py_SetPythonHome`, or the value of the :envvar:`PYTHONHOME`