Skip to content

Commit 6e6e28e

Browse files
authored
Fix a few minor typos (#143)
2 parents 6589b1e + 8e1f67e commit 6e6e28e

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Version 1.2.1 (May 1, 2022)
7777
* example.com/net/org are removed from the special-use reserved domain names list so that they do not raise exceptions if check_deliverability is off.
7878
* Improved README.
7979

80-
Verison 1.2.0 (April 24, 2022)
80+
Version 1.2.0 (April 24, 2022)
8181
------------------------------
8282

8383
* Reject domains with NULL MX records (when deliverability checks

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ users by their email address like on a registration form.
1212
Key features:
1313

1414
* Checks that an email address has the correct syntax --- great for
15-
email-based registration/login forms or validing data.
15+
email-based registration/login forms or validating data.
1616
* Gives friendly English error messages when validation fails that you
1717
can display to end-users.
1818
* Checks deliverability (optional): Does the domain name resolve?

email_validator/__main__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def main(dns_resolver: Optional[_Resolver] = None) -> None:
3838
options[varname.lower()] = float(os.environ[varname])
3939

4040
if len(sys.argv) == 1:
41-
# Validate the email addresses pased line-by-line on STDIN.
41+
# Validate the email addresses passed line-by-line on STDIN.
4242
dns_resolver = dns_resolver or caching_resolver()
4343
for line in sys.stdin:
4444
email = line.strip()

email_validator/syntax.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def split_string_at_unquoted_special(text: str, specials: Tuple[str, ...]) -> Tu
5757
for i, c in enumerate(text):
5858
# < plus U+0338 (Combining Long Solidus Overlay) normalizes to
5959
# ≮ U+226E (Not Less-Than), and it would be confusing to treat
60-
# the < as the start of "<email>" syntax in that case. Liekwise,
60+
# the < as the start of "<email>" syntax in that case. Likewise,
6161
# if anything combines with an @ or ", we should probably not
6262
# treat it as a special character.
6363
if unicodedata.normalize("NFC", text[i:])[0] != c:
@@ -642,7 +642,7 @@ def validate_email_length(addrinfo: ValidatedEmail) -> None:
642642
# form is checked first because it is the original input.
643643
# 2) The normalized email address. We perform Unicode NFC normalization of
644644
# the local part, we normalize the domain to internationalized characters
645-
# (if originaly IDNA ASCII) which also includes Unicode normalization,
645+
# (if originally IDNA ASCII) which also includes Unicode normalization,
646646
# and we may remove quotes in quoted local parts. We recommend that
647647
# callers use this string, so it must be valid.
648648
# 3) The email address with the IDNA ASCII representation of the domain

0 commit comments

Comments
 (0)