From d2a584b47b30f2e8189730201c4d19d51cdd0e89 Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Mon, 10 Oct 2016 00:24:34 +0000 Subject: Issue #28394: Spelling and typo fixes in code comments and changelog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Includes patch by Ville Skyttä. --- 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 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. -- cgit v0.12