@@ -126,8 +126,8 @@ diffs. For comparing directories and files, see also, the :mod:`filecmp` module.
126126
127127.. function :: context_diff(a, b[, fromfile][, tofile][, fromfiledate][, tofiledate][, n][, lineterm])
128128
129- Compare *a * and *b * (lists of strings); return a delta (a generator generating
130- the delta lines) in context diff format.
129+ Compare *a * and *b * (lists of strings); return a delta (a :term: ` generator `
130+ generating the delta lines) in context diff format.
131131
132132 Context diffs are a compact way of showing just the lines that have changed plus
133133 a few lines of context. The changes are shown in a before/after style. The
@@ -181,8 +181,8 @@ diffs. For comparing directories and files, see also, the :mod:`filecmp` module.
181181
182182.. function :: ndiff(a, b[, linejunk][, charjunk])
183183
184- Compare *a * and *b * (lists of strings); return a :class: `Differ `\ -style delta
185- (a generator generating the delta lines).
184+ Compare *a * and *b * (lists of strings); return a :class: `Differ `\ -style
185+ delta (a :term: ` generator ` generating the delta lines).
186186
187187 Optional keyword parameters *linejunk * and *charjunk * are for filter functions
188188 (or ``None ``):
@@ -242,8 +242,8 @@ diffs. For comparing directories and files, see also, the :mod:`filecmp` module.
242242
243243.. function :: unified_diff(a, b[, fromfile][, tofile][, fromfiledate][, tofiledate][, n][, lineterm])
244244
245- Compare *a * and *b * (lists of strings); return a delta (a generator generating
246- the delta lines) in unified diff format.
245+ Compare *a * and *b * (lists of strings); return a delta (a :term: ` generator `
246+ generating the delta lines) in unified diff format.
247247
248248 Unified diffs are a compact way of showing just the lines that have changed plus
249249 a few lines of context. The changes are shown in a inline style (instead of
@@ -442,7 +442,7 @@ use :meth:`set_seq2` to set the commonly used sequence once and call
442442
443443.. method :: SequenceMatcher.get_grouped_opcodes([n])
444444
445- Return a generator of groups with up to *n * lines of context.
445+ Return a :term: ` generator ` of groups with up to *n * lines of context.
446446
447447 Starting with the groups returned by :meth: `get_opcodes `, this method splits out
448448 smaller change clusters and eliminates intervening ranges which have no changes.
0 commit comments