summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-09-15 03:38:09 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-09-15 03:38:09 (GMT)
commitb8f68ee7af810be4561c540380ea107b7cd79d6c (patch)
tree0b31cc28f97ca640a20947e5b44f9e5cf926d3fd /Doc/c-api
parent806a006cd46a18965c8c03bf0cc7e6d09b18cd04 (diff)
downloadcpython-b8f68ee7af810be4561c540380ea107b7cd79d6c.zip
cpython-b8f68ee7af810be4561c540380ea107b7cd79d6c.tar.gz
cpython-b8f68ee7af810be4561c540380ea107b7cd79d6c.tar.bz2
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 ........
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/init.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 6e185fa..b2baab5 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`