summaryrefslogtreecommitdiff
path: root/Doc/library
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-04-12 23:27:35 +0200
committerGitHub <noreply@github.com>2021-04-12 23:27:35 +0200
commit85918e4ab6e9410008aef6dedf000d24b3e120ea (patch)
treee4c282aec978ebb45778dbd3897978aa42f4cea7 /Doc/library
parent20ac34772aa9805ccbf082e700f2b033291ff5d2 (diff)
downloadcpython-git-85918e4ab6e9410008aef6dedf000d24b3e120ea.tar.gz
bpo-43774: Add more links to configure options (GH-25363)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/decimal.rst4
-rw-r--r--Doc/library/sqlite3.rst4
-rw-r--r--Doc/library/sys.rst5
-rw-r--r--Doc/library/zoneinfo.rst5
4 files changed, 10 insertions, 8 deletions
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst
index 35a263a659..e759c5cf23 100644
--- a/Doc/library/decimal.rst
+++ b/Doc/library/decimal.rst
@@ -1484,8 +1484,8 @@ are also included in the pure Python version for compatibility.
.. data:: HAVE_CONTEXTVAR
- The default value is ``True``. If Python is :option:`configured with
- --without-decimal-contextvar <--without-decimal-contextvar>`,
+ The default value is ``True``. If Python is :option:`configured using
+ the --without-decimal-contextvar option <--without-decimal-contextvar>`,
the C version uses a thread-local rather than a coroutine-local context and the value
is ``False``. This is slightly faster in some nested context scenarios.
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index 1da5c7f3ab..aee58a4bbf 100644
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -1090,5 +1090,5 @@ committed:
.. [#f1] The sqlite3 module is not built with loadable extension support by
default, because some platforms (notably Mac OS X) have SQLite
libraries which are compiled without this feature. To get loadable
- extension support, you must pass ``--enable-loadable-sqlite-extensions`` to
- configure.
+ extension support, you must pass the
+ :option:`--enable-loadable-sqlite-extensions` option to configure.
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index d85eadbf5a..721edd1495 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -250,8 +250,9 @@ always available.
Print low-level information to stderr about the state of CPython's memory
allocator.
- If Python is :option:`configured --with-pydebug <--with-pydebug>`, it also
- performs some expensive internal consistency checks.
+ If Python is `built in debug mode <debug-build>` (:option:`configure
+ --with-pydebug option <--with-pydebug>`), it also performs some expensive
+ internal consistency checks.
.. versionadded:: 3.3
diff --git a/Doc/library/zoneinfo.rst b/Doc/library/zoneinfo.rst
index 3a4c12a73a..1b2ba2af2a 100644
--- a/Doc/library/zoneinfo.rst
+++ b/Doc/library/zoneinfo.rst
@@ -124,8 +124,9 @@ time zone database (except on Windows, where there are no "well-known"
locations for time zone data). On POSIX systems, downstream distributors and
those building Python from source who know where their system
time zone data is deployed may change the default time zone path by specifying
-the compile-time option ``TZPATH`` (or, more likely, the ``configure`` flag
-``--with-tzpath``), which should be a string delimited by :data:`os.pathsep`.
+the compile-time option ``TZPATH`` (or, more likely, the :option:`configure
+flag --with-tzpath <--with-tzpath>`), which should be a string delimited by
+:data:`os.pathsep`.
On all platforms, the configured value is available as the ``TZPATH`` key in
:func:`sysconfig.get_config_var`.