summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-10-10 00:24:34 +0000
committerMartin Panter <vadmium+py@gmail.com>2016-10-10 00:24:34 +0000
commit1d4c15f01ce3cb65a89af04537dbf29b8a23decd (patch)
tree7a7b5059f14c45d2e4fa9787726384f24b1023ce
parent848d52a0668a74a1b4a25a81ccb7a6ebc5b25148 (diff)
downloadcpython-1d4c15f01ce3cb65a89af04537dbf29b8a23decd.tar.gz
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 88f7884b5a..60503ddc82 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 155ab0f19b..61ed6bbbd7 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 fa2e3c73f6..88cb286847 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 4c4bb8eb86..d71a41b5d4 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.