summaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-10-10 00:42:50 +0000
committerMartin Panter <vadmium+py@gmail.com>2016-10-10 00:42:50 +0000
commitdd21cc35168d30776c592b18b90809945738d3f6 (patch)
tree9a21ae15b176a658c740fa598fbf0db6ec4fff82 /Lib
parent2e58f1a52a967c8c5a8c61ac2334cf659f6e4c82 (diff)
parentb1321fba53123fde88278e074b1e16ed206a18ad (diff)
downloadcpython-git-dd21cc35168d30776c592b18b90809945738d3f6.tar.gz
Issue #28394: Merge typo fixes from 3.6
Diffstat (limited to 'Lib')
-rw-r--r--Lib/lib2to3/Grammar.txt2
-rw-r--r--Lib/test/test_httplib.py2
-rw-r--r--Lib/test/test_ssl.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/Lib/lib2to3/Grammar.txt b/Lib/lib2to3/Grammar.txt
index 2f02e6f07c..2abd5ee65b 100644
--- a/Lib/lib2to3/Grammar.txt
+++ b/Lib/lib2to3/Grammar.txt
@@ -153,7 +153,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 c613c57723..68f6946a3a 100644
--- a/Lib/test/test_httplib.py
+++ b/Lib/test/test_httplib.py
@@ -1403,7 +1403,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/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
index ad30105b0f..d203cddbdf 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -3475,7 +3475,7 @@ if _have_threads:
client_context.verify_mode = ssl.CERT_REQUIRED
client_context.load_verify_locations(SIGNING_CA)
- # first conncetion without session
+ # first connection without session
stats = server_params_test(client_context, server_context)
session = stats['session']
self.assertTrue(session.id)