Skip to content

Commit 19ab9c9

Browse files
zaveshaaStanFromIreland
authored andcommitted
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 799fb62 commit 19ab9c9

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
@@ -17,7 +17,7 @@ This module provides classes and functions for comparing sequences.
1717
Most of them compare sequences of text lines (for example lists of strings,
1818
or :term:`file objects <file object>`) and
1919
produce :dfn:`diffs` -- reports on the differences.
20-
Diffs can be produced in in various formats, including HTML and context
20+
Diffs can be produced in various formats, including HTML and context
2121
and unified diffs -- formats produced by tools like
2222
:manpage:`diff <diff(1)>` and :manpage:`git diff <git-diff(1)>`.
2323

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

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

0 commit comments

Comments
 (0)