summaryrefslogtreecommitdiffstats
path: root/Lib/difflib.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-06-17 16:53:25 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-06-17 16:53:25 (GMT)
commit0887c732e7d6e162b4b78004af8546b739c77ca7 (patch)
tree689f256f282af50415e86b2b7dba7aa763c64c9f /Lib/difflib.py
parent93719b56ed6ace04680ad909eb32378c5c1f07a3 (diff)
downloadcpython-0887c732e7d6e162b4b78004af8546b739c77ca7.zip
cpython-0887c732e7d6e162b4b78004af8546b739c77ca7.tar.gz
cpython-0887c732e7d6e162b4b78004af8546b739c77ca7.tar.bz2
Fix docstring
Diffstat (limited to 'Lib/difflib.py')
-rw-r--r--Lib/difflib.py2
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