[Python-checkins] cpython (3.5): Issue #28394: Spelling and typo fixes in code comments and changelog
martin.panter
python-checkins at python.org
Sun Oct 9 21:34:46 EDT 2016
https://hg.python.org/cpython/rev/6b1df8905012
changeset: 104426:6b1df8905012
branch: 3.5
parent: 104420:69fe5f2e5aae
user: Martin Panter <vadmium+py at gmail.com>
date: Mon Oct 10 00:24:34 2016 +0000
summary:
Issue #28394: Spelling and typo fixes in code comments and changelog
Includes patch by Ville Skyttä.
files:
Lib/lib2to3/Grammar.txt | 2 +-
Lib/test/test_httplib.py | 2 +-
Misc/HISTORY | 2 +-
Misc/NEWS | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Lib/lib2to3/Grammar.txt b/Lib/lib2to3/Grammar.txt
--- a/Lib/lib2to3/Grammar.txt
+++ b/Lib/lib2to3/Grammar.txt
@@ -152,7 +152,7 @@
# 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
--- a/Lib/test/test_httplib.py
+++ b/Lib/test/test_httplib.py
@@ -1272,7 +1272,7 @@
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
--- a/Misc/HISTORY
+++ b/Misc/HISTORY
@@ -9016,7 +9016,7 @@
- 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
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -484,7 +484,7 @@
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.
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list