Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit de0ab5e

Browse files
committed
#10597: fix Py_SetPythonHome docs by pointing to where the meaning of PYTHONHOME is already documented.
1 parent ee25568 commit de0ab5e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Doc/c-api/init.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,9 @@ Initialization, Finalization, and Threads
412412
.. c:function:: void Py_SetPythonHome(wchar_t *home)
413413
414414
Set the default "home" directory, that is, the location of the standard
415-
Python libraries. The libraries are searched in
416-
:file:`{home}/lib/python{version}` and :file:`{home}/lib/python{version}`.
415+
Python libraries. See :envvar:`PYTHONHOME` for the meaning of the
416+
argument string.
417+
417418
The argument should point to a zero-terminated character string in static
418419
storage whose contents will not change for the duration of the program's
419420
execution. No code in the Python interpreter will change the contents of

0 commit comments

Comments
 (0)