#18466: fix more typos. Patch by Févry Thibault.
diff --git a/Lib/collections.py b/Lib/collections.py
index b9df2c1..0beb142 100644
--- a/Lib/collections.py
+++ b/Lib/collections.py
@@ -369,7 +369,7 @@
result = namespace[typename]
# For pickling to work, the __module__ variable needs to be set to the frame
- # where the named tuple is created. Bypass this step in enviroments where
+ # where the named tuple is created. Bypass this step in environments where
# sys._getframe is not defined (Jython for example) or sys._getframe is not
# defined for arguments greater than 0 (IronPython).
try:
diff --git a/Lib/test/test_ast.py b/Lib/test/test_ast.py
index 4f80197..0a1ca41 100644
--- a/Lib/test/test_ast.py
+++ b/Lib/test/test_ast.py
@@ -18,7 +18,7 @@
# These tests are compiled through "exec"
-# There should be atleast one test per statement
+# There should be at least one test per statement
exec_tests = [
# None
"None",
diff --git a/Lib/test/test_cookielib.py b/Lib/test/test_cookielib.py
index dd0ad32..a3c31f6 100644
--- a/Lib/test/test_cookielib.py
+++ b/Lib/test/test_cookielib.py
@@ -329,7 +329,7 @@
## commas and equals are commonly appear in the cookie value). This also
## means that if you fold multiple Set-Cookie header fields into one,
## comma-separated list, it'll be a headache to parse (at least my head
-## starts hurting everytime I think of that code).
+## starts hurting every time I think of that code).
## - Expires: You'll get all sorts of date formats in the expires,
## including emtpy expires attributes ("expires="). Be as flexible as you
## can, and certainly don't expect the weekday to be there; if you can't
diff --git a/Lib/test/test_datetime.py b/Lib/test/test_datetime.py
index d246d60..13ff5a3 100644
--- a/Lib/test/test_datetime.py
+++ b/Lib/test/test_datetime.py
@@ -124,7 +124,7 @@
self.assertEqual(derived.tzname(None), 'cookie')
#############################################################################
-# Base clase for testing a particular aspect of timedelta, time, date and
+# Base class for testing a particular aspect of timedelta, time, date and
# datetime comparisons.
class HarmlessMixedComparison:
diff --git a/Lib/test/test_normalization.py b/Lib/test/test_normalization.py
index 3040a08..1c45ad5 100644
--- a/Lib/test/test_normalization.py
+++ b/Lib/test/test_normalization.py
@@ -57,7 +57,7 @@
c1,c2,c3,c4,c5 = [unistr(x) for x in line.split(';')[:-1]]
except RangeError:
# Skip unsupported characters;
- # try atleast adding c1 if we are in part1
+ # try at least adding c1 if we are in part1
if part == "@Part1":
try:
c1 = unistr(line.split(';')[0])
diff --git a/Lib/test/test_urllib.py b/Lib/test/test_urllib.py
index e60adb2..3018ab1 100644
--- a/Lib/test/test_urllib.py
+++ b/Lib/test/test_urllib.py
@@ -812,7 +812,7 @@
# Everywhere else they work ok, but on those machines, sometimes
# fail in one of the tests, sometimes in other. I have a linux, and
# the tests go ok.
-# If anybody has one of the problematic enviroments, please help!
+# If anybody has one of the problematic environments, please help!
# . Facundo
#
# def server(evt):