]> granicus.if.org Git - python/commitdiff
#10597: fix Py_SetPythonHome docs by pointing to where the meaning of PYTHONHOME...
authorGeorg Brandl <georg@python.org>
Thu, 2 Dec 2010 18:02:01 +0000 (18:02 +0000)
committerGeorg Brandl <georg@python.org>
Thu, 2 Dec 2010 18:02:01 +0000 (18:02 +0000)
Doc/c-api/init.rst

index dbceecc931593ef342cc814bdf87051cd5f5a0ea..671ba2551dd4cde9b9d7109fd39abce3bc664614 100644 (file)
@@ -412,8 +412,9 @@ Initialization, Finalization, and Threads
 .. c:function:: 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}`.
+   Python libraries.  See :envvar:`PYTHONHOME` for the meaning of the
+   argument string.
+
    The argument should point to a zero-terminated character string in static
    storage whose contents will not change for the duration of the program's
    execution.  No code in the Python interpreter will change the contents of