[Python-checkins] cpython (3.4): Closes #21687: delimiter in Py_SetPath is platform dependent
georg.brandl
python-checkins at python.org
Sat Oct 11 15:08:28 CEST 2014
https://hg.python.org/cpython/rev/2d150c01bf7e
changeset: 92952:2d150c01bf7e
branch: 3.4
user: Georg Brandl <georg at python.org>
date: Sat Oct 11 14:36:02 2014 +0200
summary:
Closes #21687: delimiter in Py_SetPath is platform dependent
files:
Doc/c-api/init.rst | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -236,7 +236,9 @@
: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
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list