summaryrefslogtreecommitdiffstats
path: root/Lib/ssl.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-08-17 12:50:46 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-08-17 12:50:46 (GMT)
commit30b9d5d3af043fc2687ad11a188a34fe355e20ef (patch)
tree6e86b6b605397d826721779611ebd06d028acfc1 /Lib/ssl.py
parent67f39777fa2c14f0e632adda8c5945cec569b46e (diff)
downloadcpython-30b9d5d3af043fc2687ad11a188a34fe355e20ef.zip
cpython-30b9d5d3af043fc2687ad11a188a34fe355e20ef.tar.gz
cpython-30b9d5d3af043fc2687ad11a188a34fe355e20ef.tar.bz2
#18705: fix a number of typos. 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 30ee13b..efd674c 100644
--- a/Lib/ssl.py
+++ b/Lib/ssl.py
@@ -134,7 +134,7 @@ def _dnsname_to_pat(dn, max_wildcards=1):
for frag in dn.split(r'.'):
if frag.count('*') > 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(