summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-10-06 10:14:08 (GMT)
committerGeorg Brandl <georg@python.org>2010-10-06 10:14:08 (GMT)
commitfa4f7f97b8af16c02441443e448986c07f4cd254 (patch)
tree03348475825d8ebb03e1c06dcfdbfed3401fb55d /Doc/c-api
parent60203b41b03d03361754d264543d5fbe6259eb25 (diff)
downloadcpython-fa4f7f97b8af16c02441443e448986c07f4cd254.zip
cpython-fa4f7f97b8af16c02441443e448986c07f4cd254.tar.gz
cpython-fa4f7f97b8af16c02441443e448986c07f4cd254.tar.bz2
Fix spelling and markup.
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/init.rst20
1 files changed, 10 insertions, 10 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 87211dc..031e322 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -280,16 +280,16 @@ Initialization, Finalization, and Threads
single: Py_GetPath()
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
- a default serarch path but uses the provided one in stead. This is useful
- if Python is being embedded by an application that has full knowledge
- of the location of all modules. The path components should be separated
- by semicolons.
-
- This also causes `sys.executable` to be set only to the raw program name
- (see :c:func:`Py_SetProgramName`) and `for sys.prefix` and
- `sys.exec_prefix` to be empty. It is up to the caller to modify these if
- required after calling :c:func:`Py_Initialize`.
+ :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.
+
+ 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
+ :data:`sys.exec_prefix` to be empty. It is up to the caller to modify these
+ if required after calling :c:func:`Py_Initialize`.
+
.. c:function:: const char* Py_GetVersion()