mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Py_(Set|Get)PythonHome use wchar_t #6913
This commit is contained in:
parent
225f169933
commit
2ded55f79b
1 changed files with 2 additions and 2 deletions
|
|
@ -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`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue