mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Closes #21687: delimiter in Py_SetPath is platform dependent
This commit is contained in:
parent
c5dd095a9b
commit
e8ea355b72
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue