Skip to content

[3.14] Doc: fix duplicated words (GH-136086) #136108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Include/internal/mimalloc/mimalloc/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion Include/refcount.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ increase and decrease the objects reference count.

In order to offer sufficient resilience to C extensions using the stable ABI
compiled against 3.11 or earlier, we set the initial value near the
middle of the range (2**31, 2**32). That way the the refcount can be
middle of the range (2**31, 2**32). That way the refcount can be
off by ~1 billion without affecting immortality.

Reference count increases will use saturated arithmetic, taking advantage of
Expand Down
2 changes: 1 addition & 1 deletion InternalDocs/garbage_collector.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ object, the GC does not process it twice.

Notice that an object that was marked as "tentatively unreachable" and was later
moved back to the reachable list will be visited again by the garbage collector
as now all the references that that object has need to be processed as well. This
as now all the references that the object has need to be processed as well. This
process is really a breadth first search over the object graph. Once all the objects
are scanned, the GC knows that all container objects in the tentatively unreachable
list are really unreachable and can thus be garbage collected.
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_iter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_listcomps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion Tools/scripts/summarize_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,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"
Expand Down
2 changes: 1 addition & 1 deletion iOS/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
Loading