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

Skip to content

Commit 3538930

Browse files
authored
gh-101100: Fix Sphinx warnings in Doc/using/configure.rst (#109931)
1 parent a829356 commit 3538930

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

Doc/tools/.nitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ Doc/tutorial/controlflow.rst
153153
Doc/tutorial/datastructures.rst
154154
Doc/tutorial/introduction.rst
155155
Doc/using/cmdline.rst
156-
Doc/using/configure.rst
157156
Doc/using/windows.rst
158157
Doc/whatsnew/2.0.rst
159158
Doc/whatsnew/2.1.rst

Doc/using/configure.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ General Options
9999

100100
.. cmdoption:: --enable-loadable-sqlite-extensions
101101

102-
Support loadable extensions in the :mod:`_sqlite` extension module (default
103-
is no).
102+
Support loadable extensions in the :mod:`!_sqlite` extension module (default
103+
is no) of the :mod:`sqlite3` module.
104104

105105
See the :meth:`sqlite3.Connection.enable_load_extension` method of the
106106
:mod:`sqlite3` module.
@@ -198,7 +198,7 @@ General Options
198198
Some Linux distribution packaging policies recommend against bundling
199199
dependencies. For example, Fedora installs wheel packages in the
200200
``/usr/share/python-wheels/`` directory and don't install the
201-
:mod:`ensurepip._bundled` package.
201+
:mod:`!ensurepip._bundled` package.
202202

203203
.. versionadded:: 3.10
204204

@@ -469,7 +469,7 @@ Install Options
469469
.. cmdoption:: --disable-test-modules
470470

471471
Don't build nor install test modules, like the :mod:`test` package or the
472-
:mod:`_testcapi` extension module (built and installed by default).
472+
:mod:`!_testcapi` extension module (built and installed by default).
473473

474474
.. versionadded:: 3.10
475475

@@ -615,7 +615,7 @@ Effects of a debug build:
615615
* Display all warnings by default: the list of default warning filters is empty
616616
in the :mod:`warnings` module.
617617
* Add ``d`` to :data:`sys.abiflags`.
618-
* Add :func:`sys.gettotalrefcount` function.
618+
* Add :func:`!sys.gettotalrefcount` function.
619619
* Add :option:`-X showrefcount <-X>` command line option.
620620
* Add :option:`-d` command line option and :envvar:`PYTHONDEBUG` environment
621621
variable to debug the parser.
@@ -637,7 +637,7 @@ Effects of a debug build:
637637
* Check that deallocator functions don't change the current exception.
638638
* The garbage collector (:func:`gc.collect` function) runs some basic checks
639639
on objects consistency.
640-
* The :c:macro:`Py_SAFE_DOWNCAST()` macro checks for integer underflow and
640+
* The :c:macro:`!Py_SAFE_DOWNCAST()` macro checks for integer underflow and
641641
overflow when downcasting from wide types to narrow types.
642642

643643
See also the :ref:`Python Development Mode <devmode>` and the
@@ -664,7 +664,7 @@ Debug options
664664
Effects:
665665

666666
* Define the ``Py_TRACE_REFS`` macro.
667-
* Add :func:`sys.getobjects` function.
667+
* Add :func:`!sys.getobjects` function.
668668
* Add :envvar:`PYTHONDUMPREFS` environment variable.
669669

670670
The :envvar:`PYTHONDUMPREFS` environment variable can be used to dump
@@ -748,7 +748,7 @@ Libraries options
748748

749749
.. cmdoption:: --with-system-expat
750750

751-
Build the :mod:`pyexpat` module using an installed ``expat`` library
751+
Build the :mod:`!pyexpat` module using an installed ``expat`` library
752752
(default is no).
753753

754754
.. cmdoption:: --with-system-libmpdec

0 commit comments

Comments
 (0)