summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-10-10 00:24:34 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-10-10 00:24:34 (GMT)
commitd2a584b47b30f2e8189730201c4d19d51cdd0e89 (patch)
tree9a2f439b9b5c1e10ad6e6c7711edecc2d1dfb3ee
parent5e2a0ef2ee7aed59260556b5ea15f497cdc73f3b (diff)
downloadcpython-d2a584b47b30f2e8189730201c4d19d51cdd0e89.zip
cpython-d2a584b47b30f2e8189730201c4d19d51cdd0e89.tar.gz
cpython-d2a584b47b30f2e8189730201c4d19d51cdd0e89.tar.bz2
Issue #28394: Spelling and typo fixes in code comments and changelog
Includes patch by Ville Skyttä.
-rw-r--r--Lib/lib2to3/Grammar.txt2
-rw-r--r--Lib/test/test_httplib.py2
-rw-r--r--Misc/HISTORY2
-rw-r--r--Misc/NEWS2
4 files changed, 4 insertions, 4 deletions
diff --git a/Lib/lib2to3/Grammar.txt b/Lib/lib2to3/Grammar.txt
index 88f7884..60503dd 100644
--- a/Lib/lib2to3/Grammar.txt
+++ b/Lib/lib2to3/Grammar.txt
@@ -152,7 +152,7 @@ arglist: argument (',' argument)* [',']
# to our LL(1) parser. Even though 'test' includes '*expr' in star_expr,
# we explicitly match '*' here, too, to give it proper precedence.
# Illegal combinations and orderings are blocked in ast.c:
-# multiple (test comp_for) arguements are blocked; keyword unpackings
+# multiple (test comp_for) arguments are blocked; keyword unpackings
# that precede iterable unpackings are blocked; etc.
argument: ( test [comp_for] |
test '=' test |
diff --git a/Lib/test/test_httplib.py b/Lib/test/test_httplib.py
index 155ab0f..61ed6bb 100644
--- a/Lib/test/test_httplib.py
+++ b/Lib/test/test_httplib.py
@@ -1272,7 +1272,7 @@ class SourceAddressTest(TestCase):
def testHTTPSConnectionSourceAddress(self):
self.conn = client.HTTPSConnection(HOST, self.port,
source_address=('', self.source_port))
- # We don't test anything here other the constructor not barfing as
+ # We don't test anything here other than the constructor not barfing as
# this code doesn't deal with setting up an active running SSL server
# for an ssl_wrapped connect() to actually return from.
diff --git a/Misc/HISTORY b/Misc/HISTORY
index fa2e3c7..88cb286 100644
--- a/Misc/HISTORY
+++ b/Misc/HISTORY
@@ -9016,7 +9016,7 @@ Library
- Issue #5976: Fixed Distutils test_check_environ.
- Issue #5941: Distutils build_clib command was not working anymore because
- of an incomplete costumization of the archiver command. Added ARFLAGS in the
+ of an incomplete customization of the archiver command. Added ARFLAGS in the
Makefile besides AR and make Distutils use it. Original patch by David
Cournapeau.
diff --git a/Misc/NEWS b/Misc/NEWS
index 4c4bb8e..d71a41b 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -484,7 +484,7 @@ Build
make time when --with-optimizations is enabled. Also improve our
ability to find the llvm-profdata tool on MacOS and some Linuxes.
-- Issue #26307: The profile-opt build now applys PGO to the built-in modules.
+- Issue #26307: The profile-opt build now applies PGO to the built-in modules.
- Issue #26359: Add the --with-optimizations configure flag.