]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Doc: fix duplicated words (GH-136086) (#137357)
authorBrian Schubert <brianm.schubert@gmail.com>
Sun, 3 Aug 2025 22:41:47 +0000 (18:41 -0400)
committerGitHub <noreply@github.com>
Sun, 3 Aug 2025 22:41:47 +0000 (06:41 +0800)
(cherry picked from commit 698bab5a4031c8f54e04e1dd42bcbe3e4564eba5)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Include/internal/mimalloc/mimalloc/types.h
Lib/test/test_iter.py
Lib/test/test_listcomps.py
Tools/scripts/summarize_stats.py
iOS/README.rst

index 4f77bd7bc525db80167e2f9f5a5c81be8dde41bb..70c600e920bad198bcf8810ea068c59471433b9f 100644 (file)
@@ -678,7 +678,7 @@ void _mi_stat_counter_increase(mi_stat_counter_t* stat, size_t amount);
 // Thread Local data
 // ------------------------------------------------------
 
-// A "span" is is an available range of slices. The span queues keep
+// A "span" is an available range of slices. The span queues keep
 // track of slice spans of at most the given `slice_count` (but more than the previous size class).
 typedef struct mi_span_queue_s {
   mi_slice_t* first;
index 1b9f3cf76240ad4e33189070dddd162648d95680..18e4b676c5323686facc6f8ee4149dc22bf4081e 100644 (file)
@@ -1147,7 +1147,7 @@ class TestCase(unittest.TestCase):
 
     def test_exception_locations(self):
         # The location of an exception raised from __init__ or
-        # __next__ should should be the iterator expression
+        # __next__ should be the iterator expression
 
         def init_raises():
             try:
index 45644d6c0927827c4f1c3663082f1c98be5e5abb..9da6027c08b1553bf427a71aad3e0ad57eb59349 100644 (file)
@@ -716,7 +716,7 @@ class ListComprehensionTest(unittest.TestCase):
 
     def test_exception_locations(self):
         # The location of an exception raised from __init__ or
-        # __next__ should should be the iterator expression
+        # __next__ should be the iterator expression
 
         def init_raises():
             try:
index a48a9fba48c5c2d337e4776c945409ade4e70ce5..17cbc0b58b413867efd09483df871395b8b9e18b 100644 (file)
@@ -477,7 +477,7 @@ class Stats:
             ): (trace_too_long, attempts),
             Doc(
                 "Trace too short",
-                "A potential trace is abandoned because it it too short.",
+                "A potential trace is abandoned because it is too short.",
             ): (trace_too_short, attempts),
             Doc(
                 "Inner loop found", "A trace is truncated because it has an inner loop"
index 13b885144932e479483b938873940241a121cd8d..f0979ba152eb207184fe67703cbda4f08ebda331 100644 (file)
@@ -196,7 +196,7 @@ simulator build with a deployment target of 15.4.
 Merge thin frameworks into fat frameworks
 -----------------------------------------
 
-Once you've built a ``Python.framework`` for each ABI and and architecture, you
+Once you've built a ``Python.framework`` for each ABI and architecture, you
 must produce a "fat" framework for each ABI that contains all the architectures
 for that ABI.