summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-09-15 03:34:15 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-09-15 03:34:15 (GMT)
commit2ded55f79bb61d6baa48269d65ced4cb8b7c97c2 (patch)
tree3b06472003b95a0777f3fc257eedfa1e9cbb670a
parent225f169933ee71dc6d7ec918f0bae461330a51e9 (diff)
downloadcpython-2ded55f79bb61d6baa48269d65ced4cb8b7c97c2.zip
cpython-2ded55f79bb61d6baa48269d65ced4cb8b7c97c2.tar.gz
cpython-2ded55f79bb61d6baa48269d65ced4cb8b7c97c2.tar.bz2
Py_(Set|Get)PythonHome use wchar_t #6913
-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`