summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/init.rst
diff options
context:
space:
mode:
authorSandro Tosi <sandro.tosi@gmail.com>2012-01-07 17:34:07 (GMT)
committerSandro Tosi <sandro.tosi@gmail.com>2012-01-07 17:34:07 (GMT)
commit645a0dd6f79004652c52ae9d7246d1b219772588 (patch)
tree6f15a83d13472c1a06c0b95efc6b966efc698155 /Doc/c-api/init.rst
parentded0348c08f298fda4426eb2a62cc3d50eed25b5 (diff)
downloadcpython-645a0dd6f79004652c52ae9d7246d1b219772588.zip
cpython-645a0dd6f79004652c52ae9d7246d1b219772588.tar.gz
cpython-645a0dd6f79004652c52ae9d7246d1b219772588.tar.bz2
Py_SetPythonHome() can be called before Py_Initialize(); thanks to Cody Smith from docs@
Diffstat (limited to 'Doc/c-api/init.rst')
-rw-r--r--Doc/c-api/init.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 94f8c05..7507e3b 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -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