Skip to content

Commit 1c96723

Browse files
[3.13] gh-137341: Remove more word duplications (GH-137342) (GH-137347)
(cherry picked from commit 1612dcb)
1 parent 23a3e89 commit 1c96723

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
@@ -789,7 +789,7 @@ The following attribute and methods should only be used by classes derived from
789789
1. a :class:`Request` object,
790790
#. a file-like object with the HTTP error body,
791791
#. the three-digit code of the error, as a string,
792-
#. the user-visible explanation of the code, as as string, and
792+
#. the user-visible explanation of the code, as a string, and
793793
#. the headers of the error, as a mapping object.
794794

795795
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
@@ -642,7 +642,7 @@ def _check_running(self):
642642
def _run_forever_setup(self):
643643
"""Prepare the run loop to process events.
644644
645-
This method exists so that custom custom event loop subclasses (e.g., event loops
645+
This method exists so that custom event loop subclasses (e.g., event loops
646646
that integrate a GUI event loop with Python's event loop) have access to all the
647647
loop setup logic.
648648
"""
@@ -662,7 +662,7 @@ def _run_forever_setup(self):
662662
def _run_forever_cleanup(self):
663663
"""Clean up after an event loop finishes the looping over events.
664664
665-
This method exists so that custom custom event loop subclasses (e.g., event loops
665+
This method exists so that custom event loop subclasses (e.g., event loops
666666
that integrate a GUI event loop with Python's event loop) have access to all the
667667
loop cleanup logic.
668668
"""

Lib/test/libregrtest/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ def normalize_test_name(test_full_name: str, *,
580580
if is_error and short_name in _TEST_LIFECYCLE_HOOKS:
581581
if test_full_name.startswith(('setUpModule (', 'tearDownModule (')):
582582
# if setUpModule() or tearDownModule() failed, don't filter
583-
# tests with the test file name, don't use use filters.
583+
# tests with the test file name, don't use filters.
584584
return None
585585

586586
# 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
@@ -1622,7 +1622,7 @@ def check__all__(test_case, module, name_of_module=None, extra=(),
16221622
'module'.
16231623
16241624
The 'name_of_module' argument can specify (as a string or tuple thereof)
1625-
what module(s) an API could be defined in in order to be detected as a
1625+
what module(s) an API could be defined in order to be detected as a
16261626
public API. One case for this is when 'module' imports part of its public
16271627
API from other modules, possibly a C backend (like 'csv' and its '_csv').
16281628

0 commit comments

Comments
 (0)