summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/init.rst
diff options
context:
space:
mode:
authorJulien Palard <julien@palard.fr>2023-03-15 15:10:03 (GMT)
committerGitHub <noreply@github.com>2023-03-15 15:10:03 (GMT)
commit61b9ff35cbda0cc59816951a17de073968fc25c6 (patch)
tree50772e4807d00fd09a471769a747c47589a2fae4 /Doc/c-api/init.rst
parentafa6092ee4260bacf7bc11905466e4c3f8556cbb (diff)
downloadcpython-61b9ff35cbda0cc59816951a17de073968fc25c6.zip
cpython-61b9ff35cbda0cc59816951a17de073968fc25c6.tar.gz
cpython-61b9ff35cbda0cc59816951a17de073968fc25c6.tar.bz2
gh-101100: Documenting --prefix and --exec-prefix. (GH-102695)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Diffstat (limited to 'Doc/c-api/init.rst')
-rw-r--r--Doc/c-api/init.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index b50ee3b..38e324f 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -513,7 +513,7 @@ Process-wide parameters
program name is ``'/usr/local/bin/python'``, the prefix is ``'/usr/local'``. The
returned string points into static storage; the caller should not modify its
value. This corresponds to the :makevar:`prefix` variable in the top-level
- :file:`Makefile` and the ``--prefix`` argument to the :program:`configure`
+ :file:`Makefile` and the :option:`--prefix` argument to the :program:`configure`
script at build time. The value is available to Python code as ``sys.prefix``.
It is only useful on Unix. See also the next function.