Skip to content

Commit 60046a7

Browse files
[3.12] gh-101100: Fix Sphinx warnings in Doc/using/configure.rst (GH-109931) (#109937)
gh-101100: Fix Sphinx warnings in Doc/using/configure.rst (GH-109931) (cherry picked from commit 3538930) Co-authored-by: Victor Stinner <[email protected]>
1 parent 98a2d0e commit 60046a7

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

Doc/tools/.nitignore

-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ Doc/tutorial/controlflow.rst
168168
Doc/tutorial/datastructures.rst
169169
Doc/tutorial/introduction.rst
170170
Doc/using/cmdline.rst
171-
Doc/using/configure.rst
172171
Doc/using/windows.rst
173172
Doc/whatsnew/2.0.rst
174173
Doc/whatsnew/2.1.rst

Doc/using/configure.rst

+8-8
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ General Options
8282

8383
.. cmdoption:: --enable-loadable-sqlite-extensions
8484

85-
Support loadable extensions in the :mod:`_sqlite` extension module (default
86-
is no).
85+
Support loadable extensions in the :mod:`!_sqlite` extension module (default
86+
is no) of the :mod:`sqlite3` module.
8787

8888
See the :meth:`sqlite3.Connection.enable_load_extension` method of the
8989
:mod:`sqlite3` module.
@@ -181,7 +181,7 @@ General Options
181181
Some Linux distribution packaging policies recommend against bundling
182182
dependencies. For example, Fedora installs wheel packages in the
183183
``/usr/share/python-wheels/`` directory and don't install the
184-
:mod:`ensurepip._bundled` package.
184+
:mod:`!ensurepip._bundled` package.
185185

186186
.. versionadded:: 3.10
187187

@@ -258,7 +258,7 @@ Install Options
258258
.. cmdoption:: --disable-test-modules
259259

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

263263
.. versionadded:: 3.10
264264

@@ -391,7 +391,7 @@ Effects of a debug build:
391391
* Display all warnings by default: the list of default warning filters is empty
392392
in the :mod:`warnings` module.
393393
* Add ``d`` to :data:`sys.abiflags`.
394-
* Add :func:`sys.gettotalrefcount` function.
394+
* Add :func:`!sys.gettotalrefcount` function.
395395
* Add :option:`-X showrefcount <-X>` command line option.
396396
* Add :option:`-d` command line option and :envvar:`PYTHONDEBUG` environment
397397
variable to debug the parser.
@@ -413,7 +413,7 @@ Effects of a debug build:
413413
* Check that deallocator functions don't change the current exception.
414414
* The garbage collector (:func:`gc.collect` function) runs some basic checks
415415
on objects consistency.
416-
* The :c:macro:`Py_SAFE_DOWNCAST()` macro checks for integer underflow and
416+
* The :c:macro:`!Py_SAFE_DOWNCAST()` macro checks for integer underflow and
417417
overflow when downcasting from wide types to narrow types.
418418

419419
See also the :ref:`Python Development Mode <devmode>` and the
@@ -441,7 +441,7 @@ Debug options
441441
Effects:
442442

443443
* Define the ``Py_TRACE_REFS`` macro.
444-
* Add :func:`sys.getobjects` function.
444+
* Add :func:`!sys.getobjects` function.
445445
* Add :envvar:`PYTHONDUMPREFS` environment variable.
446446

447447
This build is not ABI compatible with release build (default build) or debug
@@ -519,7 +519,7 @@ Libraries options
519519

520520
.. cmdoption:: --with-system-expat
521521

522-
Build the :mod:`pyexpat` module using an installed ``expat`` library
522+
Build the :mod:`!pyexpat` module using an installed ``expat`` library
523523
(default is no).
524524

525525
.. cmdoption:: --with-system-libmpdec

0 commit comments

Comments
 (0)