[3.15] gh-156226: Fix doubled-word typos in the `difflib` documetation (GH-156227) (#156297)
hugovk <[email protected]>
| Newsgroups | gmane.comp.python.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://github.com/python/cpython/commit/1a30c4d7d791b936fe6812b4bd37141b244f71f3 commit: 1a30c4d7d791b936fe6812b4bd37141b244f71f3 branch: 3.15 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2026-08-24T09:19:45+09:00 summary: [3.15] gh-156226: Fix doubled-word typos in the `difflib` documetation (GH-156227) (#156297) gh-156226: Fix doubled-word typos in the `difflib` documetation (GH-156227) (cherry picked from commit e7468d1d9321da8e4f395cdad143b73551cc5fe2) Co-authored-by: Zaveshaa <[email protected]> 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 67760ff5449333..130971e5c11cdf 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]