Skip to content

Commit 69fee0c

Browse files
[3.14] gh-137341: Remove more word duplications (GH-137342) (#137346)
1 parent cf57f4f commit 69fee0c

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Doc/library/urllib.request.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ The following attribute and methods should only be used by classes derived from
837837
1. a :class:`Request` object,
838838
#. a file-like object with the HTTP error body,
839839
#. the three-digit code of the error, as a string,
840-
#. the user-visible explanation of the code, as as string, and
840+
#. the user-visible explanation of the code, as a string, and
841841
#. the headers of the error, as a mapping object.
842842

843843
Return values and exceptions raised should be the same as those of

Lib/asyncio/base_events.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ def _check_running(self):
636636
def _run_forever_setup(self):
637637
"""Prepare the run loop to process events.
638638
639-
This method exists so that custom custom event loop subclasses (e.g., event loops
639+
This method exists so that custom event loop subclasses (e.g., event loops
640640
that integrate a GUI event loop with Python's event loop) have access to all the
641641
loop setup logic.
642642
"""
@@ -656,7 +656,7 @@ def _run_forever_setup(self):
656656
def _run_forever_cleanup(self):
657657
"""Clean up after an event loop finishes the looping over events.
658658
659-
This method exists so that custom custom event loop subclasses (e.g., event loops
659+
This method exists so that custom event loop subclasses (e.g., event loops
660660
that integrate a GUI event loop with Python's event loop) have access to all the
661661
loop cleanup logic.
662662
"""

Lib/test/libregrtest/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ def normalize_test_name(test_full_name: str, *,
536536
if is_error and short_name in _TEST_LIFECYCLE_HOOKS:
537537
if test_full_name.startswith(('setUpModule (', 'tearDownModule (')):
538538
# if setUpModule() or tearDownModule() failed, don't filter
539-
# tests with the test file name, don't use use filters.
539+
# tests with the test file name, don't use filters.
540540
return None
541541

542542
# This means that we have a failure in a life-cycle hook,

Lib/test/support/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1679,7 +1679,7 @@ def check__all__(test_case, module, name_of_module=None, extra=(),
16791679
'module'.
16801680
16811681
The 'name_of_module' argument can specify (as a string or tuple thereof)
1682-
what module(s) an API could be defined in in order to be detected as a
1682+
what module(s) an API could be defined in order to be detected as a
16831683
public API. One case for this is when 'module' imports part of its public
16841684
API from other modules, possibly a C backend (like 'csv' and its '_csv').
16851685

0 commit comments

Comments
 (0)