]> granicus.if.org Git - python/commitdiff
Fix a few misuses of :option: I missed in r86521.
authorÉric Araujo <merwok@netwok.org>
Thu, 9 Jun 2011 12:26:10 +0000 (14:26 +0200)
committerÉric Araujo <merwok@netwok.org>
Thu, 9 Jun 2011 12:26:10 +0000 (14:26 +0200)
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 ````.

Doc/c-api/intro.rst
Doc/license.rst
Doc/using/cmdline.rst

index a2e47d95c70925c00876196916ca2d8fca573b3d..94af0f5b2d1321a7b30480f74f8e883ccea1ef1a 100644 (file)
@@ -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.
 
index 4c654aeb4786209c325ba7055bf758b1286b8723..7931cd0f2d044707b185392576f1e369bdac3748 100644 (file)
@@ -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.
 
index a10ab1c639004c5dc99043a983a33d4ee2f46ed6..becb3c9dfde041c51351a99dfd8959b1533e5f33 100644 (file)
@@ -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