Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0887c73

Browse files
committed
Fix docstring
1 parent 93719b5 commit 0887c73

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/difflib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,7 @@ def unified_diff(a, b, fromfile='', tofile='', fromfiledate='',
11071107
lines of context. The number of context lines is set by 'n' which
11081108
defaults to three.
11091109
1110-
By default, the diff control lines (those with *** or ---) are
1110+
By default, the diff control lines (those with ---, +++, or @@) are
11111111
created with a trailing newline. This is helpful so that inputs
11121112
created from file.readlines() result in diffs that are suitable for
11131113
file.writelines() since both the inputs and outputs have trailing

0 commit comments

Comments
 (0)