@@ -32,7 +32,7 @@ of any type, not just text, so long as the sequence elements are
3232Junk heuristic
3333--------------
3434
35- :mod: `!difflib ` uses a :dfn: `junk ` heuristic: Some items are deemed to be
35+ :mod: `!difflib ` uses a :dfn: `junk ` heuristic: some items are deemed to be
3636:dfn: `junk `, and ignored when searching for similarities.
3737Ideally, these are uninteresting or common items, such as blank lines
3838or whitespace.
@@ -61,7 +61,7 @@ The :mod:`!difflib` algorithm
6161-----------------------------
6262
6363The algorithm used in :class: `SequenceMatcher ` predates, and is a little
64- fancier than, an algorithm published in the late 1980's by Ratcliff and
64+ fancier than, an algorithm published in the late 1980s by Ratcliff and
6565Obershelp under the hyperbolic name "gestalt pattern matching."
6666The idea is to find the longest contiguous subsequence common to both inputs,
6767then recursively handle the pieces of the sequences to the left and to the
@@ -156,8 +156,8 @@ Diff generation
156156
157157 Each sequence must contain individual single-line strings ending with
158158 newlines. Such sequences can be obtained from the
159- :meth: `~io.IOBase.readlines ` method of file-like objects. The delta
160- generated also consists of newline-terminated strings, ready to be
159+ :meth: `~io.IOBase.readlines ` method of file-like objects. The generated
160+ delta also consists of newline-terminated strings, ready to be
161161 printed as-is via the :meth: `~io.IOBase.writelines ` method of a
162162 file-like object.
163163
0 commit comments