Commit ca5e3578 authored by Georg Brandl's avatar Georg Brandl

Fix spelling and markup.

parent c3afd397
...@@ -280,16 +280,16 @@ Initialization, Finalization, and Threads ...@@ -280,16 +280,16 @@ Initialization, Finalization, and Threads
single: Py_GetPath() single: Py_GetPath()
Set the default module search path. If this function is called before Set the default module search path. If this function is called before
:c:func: `Py_Initialize` then :c:func: Py_GetPath won't attempt to compute :c:func:`Py_Initialize`, then :c:func:`Py_GetPath` won't attempt to compute a
a default serarch path but uses the provided one in stead. This is useful default search path but uses the one provided instead. This is useful if
if Python is being embedded by an application that has full knowledge Python is embedded by an application that has full knowledge of the location
of the location of all modules. The path components should be separated of all modules. The path components should be separated by semicolons.
by semicolons.
This also causes :data:`sys.executable` to be set only to the raw program
This also causes `sys.executable` to be set only to the raw program name name (see :c:func:`Py_SetProgramName`) and for :data:`sys.prefix` and
(see :c:func:`Py_SetProgramName`) and `for sys.prefix` and :data:`sys.exec_prefix` to be empty. It is up to the caller to modify these
`sys.exec_prefix` to be empty. It is up to the caller to modify these if if required after calling :c:func:`Py_Initialize`.
required after calling :c:func:`Py_Initialize`.
.. c:function:: const char* Py_GetVersion() .. c:function:: const char* Py_GetVersion()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment