]> granicus.if.org Git - python/commitdiff
Issue #28394: Typo fixes in code comments and changelog
authorMartin Panter <vadmium+py@gmail.com>
Mon, 10 Oct 2016 01:00:00 +0000 (01:00 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Mon, 10 Oct 2016 01:00:00 +0000 (01:00 +0000)
Includes patch by Ville Skyttä.

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

index e151bac33e9961b5d66f88cb45b040a45cdb1fa3..9be7c9f057a270b733260b312b3ed8ab97598d14 100644 (file)
@@ -150,7 +150,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 db9b1fe2010dfa7688ffa961e95fcf7396a8a580..7e8b058e8b0f6e18e78fb606d0ea2c404c56383b 100644 (file)
@@ -738,7 +738,7 @@ class SourceAddressTest(TestServerMixin, TestCase):
     def testHTTPSConnectionSourceAddress(self):
         self.conn = httplib.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 872e013fb125b2e4cadad79f68ca7478b885cb8b..d8771466dfd94ff877f5c9dcad79a5c359a88e67 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -25,7 +25,7 @@ Core and Builtins
 
 - Issue #15578: Correctly incref the parent module while importing.
 
-- 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 #26020: set literal evaluation order did not match documented behaviour.
 
@@ -488,7 +488,7 @@ Library
 - Issue #26385: Remove the file if the internal fdopen() call in
   NamedTemporaryFile() fails.  Based on patch by Silent Ghost.
 
-- Issue #26309: In the "socketserver" module, shut down the request (closing
+- Issue #26309: In the "SocketServer" module, shut down the request (closing
   the connected socket) when verify_request() returns false.  Based on patch
   by Aviv Palivoda.
 
@@ -6537,7 +6537,7 @@ Library
 - Issue #8140: Extend compileall to compile single files.  Add -i option.
 
 - Issue #7774: Set sys.executable to an empty string if ``argv[0]`` has been set
-  to an non existent program name and Python is unable to retrieve the real
+  to a non existent program name and Python is unable to retrieve the real
   program name.
 
 - Issue #8117: logging: Improved algorithm for computing initial rollover time
@@ -8053,7 +8053,7 @@ Library
   is used.  Original patch by Floris Bruynooghe.
 
 - Issue #5941: Distutils build_clib command was not working anymore because of
-  an incomplete costumization of the archiver command.  Added ARFLAGS in the
+  an incomplete customization of the archiver command.  Added ARFLAGS in the
   Makefile besides AR and make Distutils use it.  Original patch by David
   Cournapeau.