Skip to content

Commit 698bab5

Browse files
Doc: fix duplicated words (#136086)
--------- Co-authored-by: Terry Jan Reedy <[email protected]>
1 parent 7a403a8 commit 698bab5

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

Include/internal/mimalloc/mimalloc/types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ void _mi_stat_counter_increase(mi_stat_counter_t* stat, size_t amount);
705705
// Thread Local data
706706
// ------------------------------------------------------
707707

708-
// A "span" is is an available range of slices. The span queues keep
708+
// A "span" is an available range of slices. The span queues keep
709709
// track of slice spans of at most the given `slice_count` (but more than the previous size class).
710710
typedef struct mi_span_queue_s {
711711
mi_slice_t* first;

Include/refcount.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ increase and decrease the objects reference count.
3030
3131
In order to offer sufficient resilience to C extensions using the stable ABI
3232
compiled against 3.11 or earlier, we set the initial value near the
33-
middle of the range (2**31, 2**32). That way the the refcount can be
33+
middle of the range (2**31, 2**32). That way the refcount can be
3434
off by ~1 billion without affecting immortality.
3535
3636
Reference count increases will use saturated arithmetic, taking advantage of

InternalDocs/garbage_collector.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ object, the GC does not process it twice.
286286

287287
Notice that an object that was marked as "tentatively unreachable" and was later
288288
moved back to the reachable list will be visited again by the garbage collector
289-
as now all the references that that object has need to be processed as well. This
289+
as now all the references that the object has need to be processed as well. This
290290
process is really a breadth first search over the object graph. Once all the objects
291291
are scanned, the GC knows that all container objects in the tentatively unreachable
292292
list are really unreachable and can thus be garbage collected.

Lib/test/test_iter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ def test_error_iter(self):
11471147

11481148
def test_exception_locations(self):
11491149
# The location of an exception raised from __init__ or
1150-
# __next__ should should be the iterator expression
1150+
# __next__ should be the iterator expression
11511151

11521152
def init_raises():
11531153
try:

Lib/test/test_listcomps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ def test_multiple_comprehension_name_reuse(self):
716716

717717
def test_exception_locations(self):
718718
# The location of an exception raised from __init__ or
719-
# __next__ should should be the iterator expression
719+
# __next__ should be the iterator expression
720720

721721
def init_raises():
722722
try:

Tools/scripts/summarize_stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ def get_optimization_stats(self) -> dict[str, tuple[int, int | None]]:
492492
): (trace_too_long, attempts),
493493
Doc(
494494
"Trace too short",
495-
"A potential trace is abandoned because it it too short.",
495+
"A potential trace is abandoned because it is too short.",
496496
): (trace_too_short, attempts),
497497
Doc(
498498
"Inner loop found", "A trace is truncated because it has an inner loop"

iOS/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ simulator build with a deployment target of 15.4.
196196
Merge thin frameworks into fat frameworks
197197
-----------------------------------------
198198

199-
Once you've built a ``Python.framework`` for each ABI and and architecture, you
199+
Once you've built a ``Python.framework`` for each ABI and architecture, you
200200
must produce a "fat" framework for each ABI that contains all the architectures
201201
for that ABI.
202202

0 commit comments

Comments
 (0)