gh-156226: Fix doubled-word typos in the `difflib` documetation (#156227)

StanFromIreland <[email protected]>
Newsgroups gmane.comp.python.cvs
Message-ID <[email protected]>
https://github.com/python/cpython/commit/e7468d1d9321da8e4f395cdad143b73551cc5fe2
commit: e7468d1d9321da8e4f395cdad143b73551cc5fe2
branch: main
author: Zaveshaa <[email protected]>
committer: StanFromIreland <[email protected]>
date: 2026-08-23T18:43:39+01:00
summary:

gh-156226: Fix doubled-word typos in the `difflib` documetation (#156227)

Co-authored-by: Stan Ulbrych <[email protected]>

files:
M Doc/library/difflib.rst

diff --git a/Doc/library/difflib.rst b/Doc/library/difflib.rst
index 374af16b2b6f98..5339186b72f6bc 100644
--- a/Doc/library/difflib.rst
+++ b/Doc/library/difflib.rst
@@ -17,7 +17,7 @@ This module provides classes and functions for comparing sequences.
 Most of them compare sequences of text lines (for example lists of strings,
 or :term:`file objects <file object>`) and
 produce :dfn:`diffs` -- reports on the differences.
-Diffs can be produced in in various formats, including HTML and context
+Diffs can be produced in various formats, including HTML and context
 and unified diffs -- formats produced by tools like
 :manpage:`diff <diff(1)>` and :manpage:`git diff <git-diff(1)>`.
 
@@ -52,7 +52,7 @@ By default, if the second input sequence is at least 200 items long, items
 that account for more than 1% it are considered *junk*.
 
 Depending on your data, you should consider turning this heuristic off
-(setting :class:`~difflib.SequenceMatcher`'s *autojunk* argument to  to ``False``)
+(setting :class:`~difflib.SequenceMatcher`'s *autojunk* argument to ``False``)
 or tuning it (using the *isjunk* argument, perhaps to one of the
 :ref:`predefined functions <difflib-isjunk-functions>`).
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.