mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-93103: Enhance PyConfig.parser_debug documentation (#93186)
Document that -d option and PYTHONDEBUG env var require a debug build of Python. Also mention them in the debug build documentation.
This commit is contained in:
parent
fbd11f3edd
commit
c7667a2d35
3 changed files with 13 additions and 2 deletions
|
@ -248,8 +248,11 @@ Miscellaneous options
|
|||
|
||||
.. cmdoption:: -d
|
||||
|
||||
Turn on parser debugging output (for expert only, depending on compilation
|
||||
options). See also :envvar:`PYTHONDEBUG`.
|
||||
Turn on parser debugging output (for expert only).
|
||||
See also the :envvar:`PYTHONDEBUG` environment variable.
|
||||
|
||||
This option requires a :ref:`debug build of Python <debug-build>`, otherwise
|
||||
it's ignored.
|
||||
|
||||
|
||||
.. cmdoption:: -E
|
||||
|
@ -660,6 +663,9 @@ conflict.
|
|||
:option:`-d` option. If set to an integer, it is equivalent to specifying
|
||||
:option:`-d` multiple times.
|
||||
|
||||
This environment variable requires a :ref:`debug build of Python
|
||||
<debug-build>`, otherwise it's ignored.
|
||||
|
||||
|
||||
.. envvar:: PYTHONINSPECT
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue