summaryrefslogtreecommitdiffstats
path: root/Lib/email
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-08-10 05:25:16 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-08-10 05:25:16 (GMT)
commit540f0451d282181449ae42b9325764a690bd6162 (patch)
tree58f7c4496321eb3798acea3d5399deee8237ca84 /Lib/email
parent4199bbaf63bf2d017c9fbd3ee5267fc571516d7f (diff)
downloadcpython-540f0451d282181449ae42b9325764a690bd6162.zip
cpython-540f0451d282181449ae42b9325764a690bd6162.tar.gz
cpython-540f0451d282181449ae42b9325764a690bd6162.tar.bz2
Correct misspellings of ISO-8859
Diffstat (limited to 'Lib/email')
-rw-r--r--Lib/email/base64mime.py2
-rw-r--r--Lib/email/quoprimime.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/email/base64mime.py b/Lib/email/base64mime.py
index f3bbac1..17f0818 100644
--- a/Lib/email/base64mime.py
+++ b/Lib/email/base64mime.py
@@ -103,7 +103,7 @@ def decode(string):
"""Decode a raw base64 string, returning a bytes object.
This function does not parse a full MIME header value encoded with
- base64 (like =?iso-8895-1?b?bmloISBuaWgh?=) -- please use the high
+ base64 (like =?iso-8859-1?b?bmloISBuaWgh?=) -- please use the high
level email.header class for that functionality.
"""
if not string:
diff --git a/Lib/email/quoprimime.py b/Lib/email/quoprimime.py
index c1fe2b4..c543eb5 100644
--- a/Lib/email/quoprimime.py
+++ b/Lib/email/quoprimime.py
@@ -292,7 +292,7 @@ def header_decode(s):
"""Decode a string encoded with RFC 2045 MIME header `Q' encoding.
This function does not parse a full MIME header value encoded with
- quoted-printable (like =?iso-8895-1?q?Hello_World?=) -- please use
+ quoted-printable (like =?iso-8859-1?q?Hello_World?=) -- please use
the high level email.header class for that functionality.
"""
s = s.replace('_', ' ')