Skip to content

Commit 0bafc36

Browse files
miss-islingtonzaveshaaStanFromIreland
authored
[3.14] gh-156226: Fix doubled-word typos in the difflib documetation (GH-156227) (#156296)
gh-156226: Fix doubled-word typos in the `difflib` documetation (GH-156227) (cherry picked from commit e7468d1) Co-authored-by: Zaveshaa <127344512+zaveshaa@users.noreply.github.com> Co-authored-by: Stan Ulbrych <stan@python.org>
1 parent f6b1201 commit 0bafc36

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/difflib.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This module provides classes and functions for comparing sequences.
2121
Most of them compare sequences of text lines (for example lists of strings,
2222
or :term:`file objects <file object>`) and
2323
produce :dfn:`diffs` -- reports on the differences.
24-
Diffs can be produced in in various formats, including HTML and context
24+
Diffs can be produced in various formats, including HTML and context
2525
and unified diffs -- formats produced by tools like
2626
:manpage:`diff <diff(1)>` and :manpage:`git diff <git-diff(1)>`.
2727

@@ -56,7 +56,7 @@ By default, if the second input sequence is at least 200 items long, items
5656
that account for more than 1% it are considered *junk*.
5757

5858
Depending on your data, you should consider turning this heuristic off
59-
(setting :class:`~difflib.SequenceMatcher`'s *autojunk* argument to to ``False``)
59+
(setting :class:`~difflib.SequenceMatcher`'s *autojunk* argument to ``False``)
6060
or tuning it (using the *isjunk* argument, perhaps to one of the
6161
:ref:`predefined functions <difflib-isjunk-functions>`).
6262

0 commit comments

Comments
 (0)