Fix NO_COLOR

This commit is contained in:
Savannah Ostrowski 2025-12-07 20:14:22 -08:00
parent c4fb950aa9
commit 7e0a7adaa5

View file

@ -647,7 +647,7 @@ are set.
.. note:: .. note::
Error messages will include color codes when redirecting stderr to a Error messages will include color codes when redirecting stderr to a
file. To avoid this, set the :envvar:`NO_COLOR` or :envvar:`PYTHON_COLORS` file. To avoid this, set the |NO_COLOR|_ or :envvar:`PYTHON_COLORS`
environment variable (e.g., ``NO_COLOR=1 python script.py 2> errors.txt``). environment variable (e.g., ``NO_COLOR=1 python script.py 2> errors.txt``).
.. versionadded:: 3.14 .. versionadded:: 3.14