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.
This commit is contained in:
Jürgen Gmach 2021-05-28 22:54:25 +02:00 committed by GitHub
parent acac6c71ff
commit 2138b2edaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View file

@ -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