diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-09-15 03:34:15 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-09-15 03:34:15 (GMT) |
commit | 2ded55f79bb61d6baa48269d65ced4cb8b7c97c2 (patch) | |
tree | 3b06472003b95a0777f3fc257eedfa1e9cbb670a /Doc/c-api | |
parent | 225f169933ee71dc6d7ec918f0bae461330a51e9 (diff) | |
download | cpython-2ded55f79bb61d6baa48269d65ced4cb8b7c97c2.zip cpython-2ded55f79bb61d6baa48269d65ced4cb8b7c97c2.tar.gz cpython-2ded55f79bb61d6baa48269d65ced4cb8b7c97c2.tar.bz2 |
Py_(Set|Get)PythonHome use wchar_t #6913
Diffstat (limited to 'Doc/c-api')
-rw-r--r-- | Doc/c-api/init.rst | 4 |
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` |