https://github.com/python/cpython/commit/d29a9c55cf06c6a116659d14f9f327bfbb67ab90
commit: d29a9c55cf06c6a116659d14f9f327bfbb67ab90
branch: 3.13
author: Brian Schubert <[email protected]>
committer: freakboy3742 <[email protected]>
date: 2025-08-04T06:41:47+08:00
summary:

[3.13] Doc: fix duplicated words (GH-136086) (#137357)

(cherry picked from commit 698bab5a4031c8f54e04e1dd42bcbe3e4564eba5)

Co-authored-by: Weilin Du <[email protected]>
Co-authored-by: Terry Jan Reedy <[email protected]>

files:
M Include/internal/mimalloc/mimalloc/types.h
M Lib/test/test_iter.py
M Lib/test/test_listcomps.py
M Tools/scripts/summarize_stats.py
M iOS/README.rst

diff --git a/Include/internal/mimalloc/mimalloc/types.h 
b/Include/internal/mimalloc/mimalloc/types.h
index 4f77bd7bc525db..70c600e920bad1 100644
--- a/Include/internal/mimalloc/mimalloc/types.h
+++ b/Include/internal/mimalloc/mimalloc/types.h
@@ -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;
diff --git a/Lib/test/test_iter.py b/Lib/test/test_iter.py
index 1b9f3cf76240ad..18e4b676c53236 100644
--- a/Lib/test/test_iter.py
+++ b/Lib/test/test_iter.py
@@ -1147,7 +1147,7 @@ def test_error_iter(self):
 
     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:
diff --git a/Lib/test/test_listcomps.py b/Lib/test/test_listcomps.py
index 45644d6c092782..9da6027c08b155 100644
--- a/Lib/test/test_listcomps.py
+++ b/Lib/test/test_listcomps.py
@@ -716,7 +716,7 @@ def test_multiple_comprehension_name_reuse(self):
 
     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:
diff --git a/Tools/scripts/summarize_stats.py b/Tools/scripts/summarize_stats.py
index a48a9fba48c5c2..17cbc0b58b4138 100644
--- a/Tools/scripts/summarize_stats.py
+++ b/Tools/scripts/summarize_stats.py
@@ -477,7 +477,7 @@ def get_optimization_stats(self) -> dict[str, tuple[int, 
int | None]]:
             ): (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"
diff --git a/iOS/README.rst b/iOS/README.rst
index 13b885144932e4..f0979ba152eb20 100644
--- a/iOS/README.rst
+++ b/iOS/README.rst
@@ -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.
 

_______________________________________________
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]

Reply via email to