]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix a few misuses of :option: I missed in r86521.
authorÉric Araujo <merwok@netwok.org>
Wed, 8 Jun 2011 03:29:39 +0000 (05:29 +0200)
committerÉric Araujo <merwok@netwok.org>
Wed, 8 Jun 2011 03:29:39 +0000 (05:29 +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 83b98f9b4c2e44d5d4448f543fd692c90de1fd2f..843707df77ae95e0ad70345bc7714d5c294a6d6b 100644 (file)
@@ -588,8 +588,8 @@ frequently-used builds will be described in the remainder of this section.
 
 Compiling the interpreter with the :c:macro:`Py_DEBUG` macro defined produces
 what is generally meant by "a debug build" of Python. :c:macro:`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 :c:macro:`_DEBUG` macro.  When :c:macro:`Py_DEBUG` is enabled
 in the Unix build, compiler optimization is disabled.
 
index a32b7abeb6e0113fd4f748c7d7a5bc0ef6580c6a..b4718281faf34668ed599398f2ac7dc986cf704a 100644 (file)
@@ -845,7 +845,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
@@ -874,7 +874,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 d1f47eba89738f57e4ca020275b614028f71c21a..16a753c0e35604b9e30b672cd0c1cf01783f7760 100644 (file)
@@ -501,7 +501,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