Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d2f8cec

Browse files
committed
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 ````.
1 parent 96deb75 commit d2f8cec

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

Doc/c-api/intro.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -588,8 +588,8 @@ frequently-used builds will be described in the remainder of this section.
588588

589589
Compiling the interpreter with the :c:macro:`Py_DEBUG` macro defined produces
590590
what is generally meant by "a debug build" of Python. :c:macro:`Py_DEBUG` is
591-
enabled in the Unix build by adding :option:`--with-pydebug` to the
592-
:file:`configure` command. It is also implied by the presence of the
591+
enabled in the Unix build by adding ``--with-pydebug`` to the
592+
:file:`./configure` command. It is also implied by the presence of the
593593
not-Python-specific :c:macro:`_DEBUG` macro. When :c:macro:`Py_DEBUG` is enabled
594594
in the Unix build, compiler optimization is disabled.
595595

Doc/license.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@ expat
845845
-----
846846

847847
The :mod:`pyexpat` extension is built using an included copy of the expat
848-
sources unless the build is configured :option:`--with-system-expat`::
848+
sources unless the build is configured ``--with-system-expat``::
849849

850850
Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
851851
and Clark Cooper
@@ -874,7 +874,7 @@ libffi
874874
------
875875

876876
The :mod:`_ctypes` extension is built using an included copy of the libffi
877-
sources unless the build is configured :option:`--with-system-libffi`::
877+
sources unless the build is configured ``--with-system-libffi``::
878878

879879
Copyright (c) 1996-2008 Red Hat, Inc and others.
880880

Doc/using/cmdline.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ Debug-mode variables
501501
~~~~~~~~~~~~~~~~~~~~
502502

503503
Setting these variables only has an effect in a debug build of Python, that is,
504-
if Python was configured with the :option:`--with-pydebug` build option.
504+
if Python was configured with the ``--with-pydebug`` build option.
505505

506506
.. envvar:: PYTHONTHREADDEBUG
507507

0 commit comments

Comments
 (0)