diff options
-rw-r--r-- | Lib/difflib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/difflib.py b/Lib/difflib.py index da3d79b..198114d 100644 --- a/Lib/difflib.py +++ b/Lib/difflib.py @@ -1107,7 +1107,7 @@ def unified_diff(a, b, fromfile='', tofile='', fromfiledate='', lines of context. The number of context lines is set by 'n' which defaults to three. - By default, the diff control lines (those with *** or ---) are + By default, the diff control lines (those with ---, +++, or @@) are created with a trailing newline. This is helpful so that inputs created from file.readlines() result in diffs that are suitable for file.writelines() since both the inputs and outputs have trailing |