Issue #25523: Backported a-to-an corrections.
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index a51387e..0007da6 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -62,7 +62,7 @@
Additional Option Details:
--r randomizes test execution order. You can use --randseed=int to provide a
+-r randomizes test execution order. You can use --randseed=int to provide an
int seed value for the randomizer; this is useful for reproducing troublesome
test orders.
diff --git a/Lib/test/test_dict.py b/Lib/test/test_dict.py
index a5685b9..1c63fc0 100644
--- a/Lib/test/test_dict.py
+++ b/Lib/test/test_dict.py
@@ -448,7 +448,7 @@
# (D) subclass defines __missing__ method returning a value
# (E) subclass defines __missing__ method raising RuntimeError
# (F) subclass sets __missing__ instance variable (no effect)
- # (G) subclass doesn't define __missing__ at a all
+ # (G) subclass doesn't define __missing__ at all
class D(dict):
def __missing__(self, key):
return 42
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py
index 252d5d8..34760c9 100644
--- a/Lib/test/test_io.py
+++ b/Lib/test/test_io.py
@@ -15,7 +15,7 @@
################################################################################
# When writing tests for io, it's important to test both the C and Python
# implementations. This is usually done by writing a base test that refers to
-# the type it is testing as a attribute. Then it provides custom subclasses to
+# the type it is testing as an attribute. Then it provides custom subclasses to
# test both implementations. This file has lots of examples.
################################################################################
diff --git a/Lib/test/test_userdict.py b/Lib/test/test_userdict.py
index fa80fea..99526a2 100644
--- a/Lib/test/test_userdict.py
+++ b/Lib/test/test_userdict.py
@@ -188,7 +188,7 @@
# (D) subclass defines __missing__ method returning a value
# (E) subclass defines __missing__ method raising RuntimeError
# (F) subclass sets __missing__ instance variable (no effect)
- # (G) subclass doesn't define __missing__ at a all
+ # (G) subclass doesn't define __missing__ at all
class D(UserDict.UserDict):
def __missing__(self, key):
return 42