Skip to content

Commit c485715

Browse files
[3.11] gh-101100: Fix Sphinx warnings in Doc/using/configure.rst (GH-109931) (#109938)
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 88917dd commit c485715

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
@@ -156,7 +156,6 @@ Doc/tutorial/controlflow.rst
156156
Doc/tutorial/datastructures.rst
157157
Doc/tutorial/introduction.rst
158158
Doc/using/cmdline.rst
159-
Doc/using/configure.rst
160159
Doc/using/windows.rst
161160
Doc/whatsnew/2.0.rst
162161
Doc/whatsnew/2.1.rst

Doc/using/configure.rst

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

1919
.. cmdoption:: --enable-loadable-sqlite-extensions
2020

21-
Support loadable extensions in the :mod:`_sqlite` extension module (default
22-
is no).
21+
Support loadable extensions in the :mod:`!_sqlite` extension module (default
22+
is no) of the :mod:`sqlite3` module.
2323

2424
See the :meth:`sqlite3.Connection.enable_load_extension` method of the
2525
:mod:`sqlite3` module.
@@ -117,7 +117,7 @@ General Options
117117
Some Linux distribution packaging policies recommend against bundling
118118
dependencies. For example, Fedora installs wheel packages in the
119119
``/usr/share/python-wheels/`` directory and don't install the
120-
:mod:`ensurepip._bundled` package.
120+
:mod:`!ensurepip._bundled` package.
121121

122122
.. versionadded:: 3.10
123123

@@ -193,7 +193,7 @@ Install Options
193193
.. cmdoption:: --disable-test-modules
194194

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

198198
.. versionadded:: 3.10
199199

@@ -292,7 +292,7 @@ Effects of a debug build:
292292
* Display all warnings by default: the list of default warning filters is empty
293293
in the :mod:`warnings` module.
294294
* Add ``d`` to :data:`sys.abiflags`.
295-
* Add :func:`sys.gettotalrefcount` function.
295+
* Add :func:`!sys.gettotalrefcount` function.
296296
* Add :option:`-X showrefcount <-X>` command line option.
297297
* Add :envvar:`PYTHONTHREADDEBUG` environment variable.
298298
* Add support for the ``__lltrace__`` variable: enable low-level tracing in the
@@ -313,7 +313,7 @@ Effects of a debug build:
313313
* Check that deallocator functions don't change the current exception.
314314
* The garbage collector (:func:`gc.collect` function) runs some basic checks
315315
on objects consistency.
316-
* The :c:macro:`Py_SAFE_DOWNCAST()` macro checks for integer underflow and
316+
* The :c:macro:`!Py_SAFE_DOWNCAST()` macro checks for integer underflow and
317317
overflow when downcasting from wide types to narrow types.
318318

319319
See also the :ref:`Python Development Mode <devmode>` and the
@@ -341,7 +341,7 @@ Debug options
341341
Effects:
342342

343343
* Define the ``Py_TRACE_REFS`` macro.
344-
* Add :func:`sys.getobjects` function.
344+
* Add :func:`!sys.getobjects` function.
345345
* Add :envvar:`PYTHONDUMPREFS` environment variable.
346346

347347
This build is not ABI compatible with release build (default build) or debug
@@ -419,7 +419,7 @@ Libraries options
419419

420420
.. cmdoption:: --with-system-expat
421421

422-
Build the :mod:`pyexpat` module using an installed ``expat`` library
422+
Build the :mod:`!pyexpat` module using an installed ``expat`` library
423423
(default is no).
424424

425425
.. cmdoption:: --with-system-ffi

0 commit comments

Comments
 (0)