bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
This commit is contained in:
Mariusz Felisiak 2021-07-27 00:11:55 +02:00 committed by GitHub
parent 6c7ec7282b
commit 11749e2dc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
61 changed files with 109 additions and 107 deletions

View file

@ -168,7 +168,7 @@ def quotedata(data):
"""Quote data for email.
Double leading '.', and change Unix newline '\\n', or Mac '\\r' into
Internet CRLF end-of-line.
internet CRLF end-of-line.
"""
return re.sub(r'(?m)^\.', '..',
re.sub(r'(?:\r\n|\n|\r(?!\n))', CRLF, data))