gh-112730: Update docs for colour env vars (#112837)

This commit is contained in:
Hugo van Kemenade 2023-12-14 13:36:48 +02:00 committed by GitHub
parent 29f7eb4859
commit 12f0bbd6e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 2 deletions

View file

@ -610,7 +610,9 @@ Miscellaneous options
.. versionadded:: 3.13
The ``-X presite`` option.
Controlling Color
.. _using-on-controlling-color:
Controlling color
~~~~~~~~~~~~~~~~~
The Python interpreter is configured by default to use colors to highlight
@ -1133,6 +1135,7 @@ conflict.
If this variable is set to ``1``, the interpreter will colorize various kinds
of output. Setting it to ``0`` deactivates this behavior.
See also :ref:`using-on-controlling-color`.
.. versionadded:: 3.13