Skip to content

Commit 734b0bc

Browse files
committed
fixup docs
1 parent fb092b0 commit 734b0bc

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Doc/library/difflib.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,9 @@ diffs. For comparing directories and files, see also, the :mod:`filecmp` module.
297297
For inputs that do not have trailing newlines, set the *lineterm* argument to
298298
``""`` so that the output will be uniformly newline free.
299299

300-
Set *color* to ``True`` to inject ANSI color codes and make the output
301-
look like what ``git diff --color`` shows.
300+
Set *color* to ``True`` to enable output in color, similar to
301+
:program:`git diff --color`. Even if enabled, it can be
302+
:ref:`controlled using environment variables <using-on-controlling-color>`.
302303

303304
The unified diff format normally has a header for filenames and modification
304305
times. Any or all of these may be specified using strings for *fromfile*,

0 commit comments

Comments
 (0)