Skip to content

Commit 3d3f5d3

Browse files
committed
Mention PYTHON_PRESITE needs a pydebug build
1 parent 08679d8 commit 3d3f5d3

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

Doc/c-api/init_config.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ PyConfig
716716
717717
Set to ``1`` by the :envvar:`PYTHONDUMPREFS` environment variable.
718718
719-
Need a special build of Python with the ``Py_TRACE_REFS`` macro defined:
719+
Needs a special build of Python with the ``Py_TRACE_REFS`` macro defined:
720720
see the :option:`configure --with-trace-refs option <--with-trace-refs>`.
721721
722722
Default: ``0``.
@@ -1048,7 +1048,7 @@ PyConfig
10481048
Incremented by the :option:`-d` command line option. Set to the
10491049
:envvar:`PYTHONDEBUG` environment variable value.
10501050
1051-
Need a :ref:`debug build of Python <debug-build>` (the ``Py_DEBUG`` macro
1051+
Needs a :ref:`debug build of Python <debug-build>` (the ``Py_DEBUG`` macro
10521052
must be defined).
10531053
10541054
Default: ``0``.
@@ -1153,7 +1153,7 @@ PyConfig
11531153
option and the :envvar:`PYTHON_PRESITE` environment variable.
11541154
The command-line option takes precedence.
11551155
1156-
Need a :ref:`debug build of Python <debug-build>` (the ``Py_DEBUG`` macro
1156+
Needs a :ref:`debug build of Python <debug-build>` (the ``Py_DEBUG`` macro
11571157
must be defined).
11581158
11591159
Default: ``NULL``.
@@ -1164,7 +1164,7 @@ PyConfig
11641164
11651165
Set to ``1`` by :option:`-X showrefcount <-X>` command line option.
11661166
1167-
Need a :ref:`debug build of Python <debug-build>` (the ``Py_REF_DEBUG``
1167+
Needs a :ref:`debug build of Python <debug-build>` (the ``Py_REF_DEBUG``
11681168
macro must be defined).
11691169
11701170
Default: ``0``.

Doc/using/cmdline.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,15 +1098,15 @@ Debug-mode variables
10981098
If set, Python will dump objects and reference counts still alive after
10991099
shutting down the interpreter.
11001100

1101-
Need Python configured with the :option:`--with-trace-refs` build option.
1101+
Needs Python configured with the :option:`--with-trace-refs` build option.
11021102

11031103
.. envvar:: PYTHONDUMPREFSFILE
11041104

11051105
If set, Python will dump objects and reference counts still alive
11061106
after shutting down the interpreter into a file under the path given
11071107
as the value to this environment variable.
11081108

1109-
Need Python configured with the :option:`--with-trace-refs` build option.
1109+
Needs Python configured with the :option:`--with-trace-refs` build option.
11101110

11111111
.. versionadded:: 3.11
11121112

@@ -1120,4 +1120,6 @@ Debug-mode variables
11201120
See also the :option:`-X presite <-X>` command-line option,
11211121
which takes precedence over this variable.
11221122

1123+
Needs Python configured with the :option:`--with-pydebug` build option.
1124+
11231125
.. versionadded:: 3.13

0 commit comments

Comments
 (0)