summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-06-09 12:26:10 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-06-09 12:26:10 (GMT)
commit5cf8660f0bd8ce16b0e9f5c95049966b653e6574 (patch)
tree6d112c46b081fd80ec75b64aceb3d9e49250bcd3
parentd476a89e46df570ff009d18062b0a4d9339f5a25 (diff)
downloadcpython-5cf8660f0bd8ce16b0e9f5c95049966b653e6574.zip
cpython-5cf8660f0bd8ce16b0e9f5c95049966b653e6574.tar.gz
cpython-5cf8660f0bd8ce16b0e9f5c95049966b653e6574.tar.bz2
Fix a few misuses of :option: I missed in r86521.
Extract of the commit message: Fix usage of :option: in the docs (#9312). :option: is used to create a link to an option of python, not to mark up any instance of any arbitrary command-line option. These were changed to ````.
-rw-r--r--Doc/c-api/intro.rst4
-rw-r--r--Doc/license.rst4
-rw-r--r--Doc/using/cmdline.rst2
3 files changed, 5 insertions, 5 deletions
diff --git a/Doc/c-api/intro.rst b/Doc/c-api/intro.rst
index a2e47d9..94af0f5 100644
--- a/Doc/c-api/intro.rst
+++ b/Doc/c-api/intro.rst
@@ -594,8 +594,8 @@ frequently-used builds will be described in the remainder of this section.
Compiling the interpreter with the :cmacro:`Py_DEBUG` macro defined produces
what is generally meant by "a debug build" of Python. :cmacro:`Py_DEBUG` is
-enabled in the Unix build by adding :option:`--with-pydebug` to the
-:file:`configure` command. It is also implied by the presence of the
+enabled in the Unix build by adding ``--with-pydebug`` to the
+:file:`./configure` command. It is also implied by the presence of the
not-Python-specific :cmacro:`_DEBUG` macro. When :cmacro:`Py_DEBUG` is enabled
in the Unix build, compiler optimization is disabled.
diff --git a/Doc/license.rst b/Doc/license.rst
index 4c654ae..7931cd0 100644
--- a/Doc/license.rst
+++ b/Doc/license.rst
@@ -889,7 +889,7 @@ expat
-----
The :mod:`pyexpat` extension is built using an included copy of the expat
-sources unless the build is configured :option:`--with-system-expat`::
+sources unless the build is configured ``--with-system-expat``::
Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
and Clark Cooper
@@ -918,7 +918,7 @@ libffi
------
The :mod:`_ctypes` extension is built using an included copy of the libffi
-sources unless the build is configured :option:`--with-system-libffi`::
+sources unless the build is configured ``--with-system-libffi``::
Copyright (c) 1996-2008 Red Hat, Inc and others.
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
index a10ab1c..becb3c9 100644
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -569,7 +569,7 @@ Debug-mode variables
~~~~~~~~~~~~~~~~~~~~
Setting these variables only has an effect in a debug build of Python, that is,
-if Python was configured with the :option:`--with-pydebug` build option.
+if Python was configured with the ``--with-pydebug`` build option.
.. envvar:: PYTHONTHREADDEBUG