Found four doubled-word typos with a simple regex scan:
Doc/library/difflib.rst: "Diffs can be produced in in various formats"
Lib/multiprocessing/resource_tracker.py (comment above the Base64 encoding): "we encode encode the raw name bytes"
Lib/test/test_exception_group.py (LeafGeneratorTest comment): "Is is also used below as a test utility" → "It is also used"
Lib/test/test_unittest/testmock/testhelpers.py: "The return value isn't isn't callable"
PR to follow.
Linked PRs
Found four doubled-word typos with a simple regex scan:
Doc/library/difflib.rst: "Diffs can be produced in in various formats"Lib/multiprocessing/resource_tracker.py(comment above the Base64 encoding): "we encode encode the raw name bytes"Lib/test/test_exception_group.py(LeafGeneratorTest comment): "Is is also used below as a test utility" → "It is also used"Lib/test/test_unittest/testmock/testhelpers.py: "The return value isn't isn't callable"PR to follow.
Linked PRs
difflibdocumetation #156227