[3.14] gh-156226: Fix doubled-word typos in the `difflib` documetation (GH-156227) (#156296)
hugovk <[email protected]>
| Newsgroups | gmane.comp.python.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://github.com/python/cpython/commit/0bafc3649fa5b3936ea3029265309b724749eb93 commit: 0bafc3649fa5b3936ea3029265309b724749eb93 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2026-08-24T09:20:06+09:00 summary: [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 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 8219a7cb36bcaf..0dea71e1217e60 100644 --- a/Doc/library/difflib.rst +++ b/Doc/library/difflib.rst @@ -21,7 +21,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)>`. @@ -56,7 +56,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]