Closes #21687: delimiter in Py_SetPath is platform dependent

This commit is contained in:
Georg Brandl 2014-10-11 14:36:02 +02:00
parent c5dd095a9b
commit e8ea355b72
1 changed files with 3 additions and 1 deletions

View File

@ -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