summaryrefslogtreecommitdiffstats
path: root/Lib/ssl.py
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2014-10-19 15:04:38 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2014-10-19 15:04:38 (GMT)
commitf23530f5690d2e37bba7235a6398b2c386a5b485 (patch)
tree0e2ed390b1bc3007fa60dcc784f4ae3f3d21b1ff /Lib/ssl.py
parent0fc08fd2c7774a5521ae198b04639ec634fdb5c2 (diff)
downloadcpython-f23530f5690d2e37bba7235a6398b2c386a5b485.zip
cpython-f23530f5690d2e37bba7235a6398b2c386a5b485.tar.gz
cpython-f23530f5690d2e37bba7235a6398b2c386a5b485.tar.bz2
Issue #22186: Fix typos in Lib/.
Patch by FĂ©vry Thibault.
Diffstat (limited to 'Lib/ssl.py')
-rw-r--r--Lib/ssl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ssl.py b/Lib/ssl.py
index d9d1916..e2636ef 100644
--- a/Lib/ssl.py
+++ b/Lib/ssl.py
@@ -213,7 +213,7 @@ def _dnsname_match(dn, hostname, max_wildcards=1):
wildcards = leftmost.count('*')
if wildcards > max_wildcards:
# Issue #17980: avoid denials of service by refusing more
- # than one wildcard per fragment. A survery of established
+ # than one wildcard per fragment. A survey of established
# policy among SSL implementations showed it to be a
# reasonable choice.
raise CertificateError(