summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-09-01 01:19:30 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-09-01 01:19:30 (GMT)
commit37b5f9eebc0d7ce43c7e38e4ccd6d8ad904007b5 (patch)
treef5a1b827b7aec65770295bb51d0b1d809ce3cacb /Doc/c-api
parent941afedd741b26c0e54c377e8b04f5eb6af823c9 (diff)
downloadcpython-37b5f9eebc0d7ce43c7e38e4ccd6d8ad904007b5.zip
cpython-37b5f9eebc0d7ce43c7e38e4ccd6d8ad904007b5.tar.gz
cpython-37b5f9eebc0d7ce43c7e38e4ccd6d8ad904007b5.tar.bz2
Fix some misuses of Sphinx roles and one typo
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/init.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 4b70ec2..94f8c05 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -122,7 +122,7 @@ Process-wide parameters
program name is ``'/usr/local/bin/python'``, the prefix is ``'/usr/local'``. The
returned string points into static storage; the caller should not modify its
value. This corresponds to the :makevar:`prefix` variable in the top-level
- :file:`Makefile` and the :option:`--prefix` argument to the :program:`configure`
+ :file:`Makefile` and the ``--prefix`` argument to the :program:`configure`
script at build time. The value is available to Python code as ``sys.prefix``.
It is only useful on Unix. See also the next function.
@@ -135,7 +135,7 @@ Process-wide parameters
program name is ``'/usr/local/bin/python'``, the exec-prefix is
``'/usr/local'``. The returned string points into static storage; the caller
should not modify its value. This corresponds to the :makevar:`exec_prefix`
- variable in the top-level :file:`Makefile` and the :option:`--exec-prefix`
+ variable in the top-level :file:`Makefile` and the ``--exec-prefix``
argument to the :program:`configure` script at build time. The value is
available to Python code as ``sys.exec_prefix``. It is only useful on Unix.