]> granicus.if.org Git - python/commitdiff
Fix docstring
authorRaymond Hettinger <python@rcn.com>
Tue, 17 Jun 2003 16:53:25 +0000 (16:53 +0000)
committerRaymond Hettinger <python@rcn.com>
Tue, 17 Jun 2003 16:53:25 +0000 (16:53 +0000)
Lib/difflib.py

index da3d79be9ac4349b34d059a4b47b9a93a73924cd..198114d987aac453f25ace1006cf71dc31396b96 100644 (file)
@@ -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