]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Py_SetPythonHome() can be called before Py_Initialize(); thanks to Cody Smith from...
authorSandro Tosi <sandro.tosi@gmail.com>
Sat, 7 Jan 2012 17:34:07 +0000 (18:34 +0100)
committerSandro Tosi <sandro.tosi@gmail.com>
Sat, 7 Jan 2012 17:34:07 +0000 (18:34 +0100)
Doc/c-api/init.rst

index 94f8c05ea62897831b53dabc53b03c0161404a7d..7507e3b52dc4babd557b627d1eec92409fdb219c 100644 (file)
@@ -29,7 +29,7 @@ Initializing and finalizing the interpreter
 
    Initialize the Python interpreter.  In an application embedding  Python, this
    should be called before using any other Python/C API functions; with the
-   exception of :c:func:`Py_SetProgramName` and :c:func:`Py_SetPath`.  This initializes
+   exception of :c:func:`Py_SetProgramName`, :c:func:`Py_SetPythonHome` and :c:func:`Py_SetPath`.  This initializes
    the table of loaded modules (``sys.modules``), and creates the fundamental
    modules :mod:`builtins`, :mod:`__main__` and :mod:`sys`.  It also initializes
    the module search path (``sys.path``). It does not set ``sys.argv``; use