Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e8ea355

Browse files
committed
Closes #21687: delimiter in Py_SetPath is platform dependent
1 parent c5dd095 commit e8ea355

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Doc/c-api/init.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,9 @@ Process-wide parameters
236236
:c:func:`Py_Initialize`, then :c:func:`Py_GetPath` won't attempt to compute a
237237
default search path but uses the one provided instead. This is useful if
238238
Python is embedded by an application that has full knowledge of the location
239-
of all modules. The path components should be separated by semicolons.
239+
of all modules. The path components should be separated by the platform
240+
dependent delimiter character, which is ``':'`` on Unix and Mac OS X, ``';'``
241+
on Windows.
240242
241243
This also causes :data:`sys.executable` to be set only to the raw program
242244
name (see :c:func:`Py_SetProgramName`) and for :data:`sys.prefix` and

0 commit comments

Comments
 (0)