mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
Fix NO_COLOR
This commit is contained in:
parent
c4fb950aa9
commit
7e0a7adaa5
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue