Skip to content

Commit 4c3513c

Browse files
committed
suggestion
1 parent 21c7a36 commit 4c3513c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Doc/library/argparse.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -638,9 +638,10 @@ by setting ``color`` to ``False``::
638638
... help='an integer for the accumulator')
639639
>>> parser.parse_args(['--help'])
640640

641-
When ``color=True``, colored output depends on both the environment variables
642-
and the terminal capabilities. But when ``color=False``, colored output is
643-
always disabled.
641+
Note that when ``color=True``, colored output depends on both environment
642+
variables and terminal capabilities. However, if ``color=False``, colored
643+
output is always disabled, even if environment variables like ``FORCE_COLOR``
644+
are set.
644645

645646
.. versionadded:: 3.14
646647

0 commit comments

Comments
 (0)