summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-10-11 12:36:02 (GMT)
committerGeorg Brandl <georg@python.org>2014-10-11 12:36:02 (GMT)
commite8ea355b728fa2ae3fa060eeea477ebfa159a5f5 (patch)
tree84b87c5ac5bb3be6d3bda7b433adc88deccfbb42 /Doc/c-api
parentc5dd095a9b75b72ab7a7c9790dcf6d62fc050331 (diff)
downloadcpython-e8ea355b728fa2ae3fa060eeea477ebfa159a5f5.zip
cpython-e8ea355b728fa2ae3fa060eeea477ebfa159a5f5.tar.gz
cpython-e8ea355b728fa2ae3fa060eeea477ebfa159a5f5.tar.bz2
Closes #21687: delimiter in Py_SetPath is platform dependent
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/init.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 0587e15..59af41b 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -236,7 +236,9 @@ Process-wide parameters
:c:func:`Py_Initialize`, then :c:func:`Py_GetPath` won't attempt to compute a
default search path but uses the one provided instead. This is useful if
Python is embedded by an application that has full knowledge of the location
- of all modules. The path components should be separated by semicolons.
+ of all modules. The path components should be separated by the platform
+ dependent delimiter character, which is ``':'`` on Unix and Mac OS X, ``';'``
+ on Windows.
This also causes :data:`sys.executable` to be set only to the raw program
name (see :c:func:`Py_SetProgramName`) and for :data:`sys.prefix` and