summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/concurrent/futures/process.py2
-rw-r--r--Lib/test/test_descr.py2
-rw-r--r--Lib/test/test_dynamic.py2
-rw-r--r--Lib/test/test_frame.py2
-rw-r--r--Lib/test/test_unpack.py2
5 files changed, 5 insertions, 5 deletions
diff --git a/Lib/concurrent/futures/process.py b/Lib/concurrent/futures/process.py
index f4b5cd1..fba19d3 100644
--- a/Lib/concurrent/futures/process.py
+++ b/Lib/concurrent/futures/process.py
@@ -495,7 +495,7 @@ class _ExecutorManagerThread(threading.Thread):
# set_exception() fails if the future is cancelled: ignore it.
# Trying to check if the future is cancelled before calling
# set_exception() would leave a race condition if the future is
- # cancelled betwen the check and set_exception().
+ # cancelled between the check and set_exception().
pass
# Delete references to object. See issue16284
del work_item
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py
index 35ddb79..4a3db80 100644
--- a/Lib/test/test_descr.py
+++ b/Lib/test/test_descr.py
@@ -1989,7 +1989,7 @@ class ClassPropertiesAndMethods(unittest.TestCase):
ns = {}
exec(code, ns)
number_attrs = ns["number_attrs"]
- # Warm up the the function for quickening (PEP 659)
+ # Warm up the function for quickening (PEP 659)
for _ in range(30):
self.assertEqual(number_attrs(Numbers()), list(range(280)))
diff --git a/Lib/test/test_dynamic.py b/Lib/test/test_dynamic.py
index 7e12d42..0aa3be6 100644
--- a/Lib/test/test_dynamic.py
+++ b/Lib/test/test_dynamic.py
@@ -145,7 +145,7 @@ class RebindBuiltinsTests(unittest.TestCase):
code = "lambda: " + "+".join(f"_number_{i}" for i in range(variables))
sum_func = eval(code, MyGlobals())
expected = sum(range(variables))
- # Warm up the the function for quickening (PEP 659)
+ # Warm up the function for quickening (PEP 659)
for _ in range(30):
self.assertEqual(sum_func(), expected)
diff --git a/Lib/test/test_frame.py b/Lib/test/test_frame.py
index 6bb0144..9491c7f 100644
--- a/Lib/test/test_frame.py
+++ b/Lib/test/test_frame.py
@@ -322,7 +322,7 @@ class TestIncompleteFrameAreInvisible(unittest.TestCase):
sneaky_frame_object = None
gc.enable()
next(g)
- # g.gi_frame should be the the frame object from the callback (the
+ # g.gi_frame should be the frame object from the callback (the
# one that was *requested* second, but *created* first):
self.assertIs(g.gi_frame, sneaky_frame_object)
finally:
diff --git a/Lib/test/test_unpack.py b/Lib/test/test_unpack.py
index f5ca1d4..515ec12 100644
--- a/Lib/test/test_unpack.py
+++ b/Lib/test/test_unpack.py
@@ -162,7 +162,7 @@ class TestCornerCases(unittest.TestCase):
ns = {}
exec(code, ns)
unpack_400 = ns["unpack_400"]
- # Warm up the the function for quickening (PEP 659)
+ # Warm up the function for quickening (PEP 659)
for _ in range(30):
y = unpack_400(range(400))
self.assertEqual(y, 399)