summaryrefslogtreecommitdiffstats
path: root/Lib/ssl.py
diff options
context:
space:
mode:
authorJürgen Gmach <juergen.gmach@googlemail.com>2021-05-28 20:54:25 (GMT)
committerGitHub <noreply@github.com>2021-05-28 20:54:25 (GMT)
commit2138b2edaf5acb3b9c162a9ba620923e286239a8 (patch)
treec28af03f6d11fd3c3d66fd0eb940fc7b048da9a7 /Lib/ssl.py
parentacac6c71ff370413374c6aca1df808c426e8a30c (diff)
downloadcpython-2138b2edaf5acb3b9c162a9ba620923e286239a8.zip
cpython-2138b2edaf5acb3b9c162a9ba620923e286239a8.tar.gz
cpython-2138b2edaf5acb3b9c162a9ba620923e286239a8.tar.bz2
bpo-44045: fix spelling of uppercase vs upper-case (GH-25985)
And also of lowercase vs lower-case. The `-` notation should only be used for adjectives.
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 2b131de..aeb2958 100644
--- a/Lib/ssl.py
+++ b/Lib/ssl.py
@@ -280,7 +280,7 @@ CertificateError = SSLCertVerificationError
def _dnsname_match(dn, hostname):
"""Matching according to RFC 6125, section 6.4.3
- - Hostnames are compared lower case.
+ - Hostnames are compared lower-case.
- For IDNA, both dn and hostname must be encoded as IDN A-label (ACE).
- Partial wildcards like 'www*.example.org', multiple wildcards, sole
wildcard or wildcards in labels other then the left-most label are not