From: Georg Brandl Date: Sat, 11 Oct 2014 12:36:02 +0000 (+0200) Subject: Closes #21687: delimiter in Py_SetPath is platform dependent X-Git-Tag: v3.5.0a1~696^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e8ea355b728fa2ae3fa060eeea477ebfa159a5f5;p=python Closes #21687: delimiter in Py_SetPath is platform dependent --- diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index 0587e15d9f..59af41bd5a 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