Skip to content

Commit c48a6ac

Browse files
committed
Doc formatting updates
1 parent 3255866 commit c48a6ac

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/library/difflib.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,8 @@ 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 look
301-
like what ``git diff --color`` shows.
300+
Set *color* to ``True`` to inject ANSI color codes and make the output
301+
look like what ``git diff --color`` shows.
302302

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

Lib/difflib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1112,8 +1112,8 @@ def unified_diff(a, b, fromfile='', tofile='', fromfiledate='',
11121112
For inputs that do not have trailing newlines, set the lineterm
11131113
argument to "" so that the output will be uniformly newline free.
11141114
1115-
Set `color` to True to inject ANSI color codes and make the output look
1116-
like what `git diff --color` shows.
1115+
Set *color* to ``True`` to inject ANSI color codes and make the output
1116+
look like what ``git diff --color`` shows.
11171117
11181118
The unidiff format normally has a header for filenames and modification
11191119
times. Any or all of these may be specified using strings for

0 commit comments

Comments
 (0)