From 0887c732e7d6e162b4b78004af8546b739c77ca7 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Tue, 17 Jun 2003 16:53:25 +0000 Subject: [PATCH] Fix docstring --- Lib/difflib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/difflib.py b/Lib/difflib.py index da3d79be9ac..198114d987a 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