]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #28394: Spelling and typo fixes in code comments and changelog
authorMartin Panter <vadmium+py@gmail.com>
Mon, 10 Oct 2016 00:24:34 +0000 (00:24 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Mon, 10 Oct 2016 00:24:34 +0000 (00:24 +0000)
Includes patch by Ville Skyttä.

Lib/lib2to3/Grammar.txt
Lib/test/test_httplib.py
Misc/HISTORY
Misc/NEWS

index 88f7884b5a55d9a4c8751d4e26d7af565050f4c6..60503ddc8202ec94970be353fc224d792d1bbe1e 100644 (file)
@@ -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 |
index 155ab0f19b0fdb79befb6b6ee9a294a8da9b87a7..61ed6bbbd7cf35b7deef54c97fe498e06ef5a437 100644 (file)
@@ -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.
 
index fa2e3c73f619a6eff50c4e80a948ffb462c22d98..88cb286847492a7145d3a71ae0e5018980995ad6 100644 (file)
@@ -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.
 
index 4c4bb8eb86ce5d83e3260fe612825d2190213d9e..d71a41b5d4076246d7ef95c3f83789a6348d205b 100644 (file)
--- 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.