summaryrefslogtreecommitdiff
path: root/Lib/email/header.py
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2009-07-11 14:33:51 +0000
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2009-07-11 14:33:51 +0000
commit74b8d333b708e2f029f60a06bbb5abb31199426f (patch)
tree395efe22fbfc0239eb794063d4add723a714c5cf /Lib/email/header.py
parentc91cbb948a223f0921300dc7b4f4b762b60420f3 (diff)
downloadcpython-git-74b8d333b708e2f029f60a06bbb5abb31199426f.tar.gz
#2622 Import errors in email.message, from a py2app standalone application.
Patch by Mads Kiilerich, Reviewed by Barry Warsaw.
Diffstat (limited to 'Lib/email/header.py')
-rw-r--r--Lib/email/header.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/email/header.py b/Lib/email/header.py
index ab0d3fc76e..6e03922aa0 100644
--- a/Lib/email/header.py
+++ b/Lib/email/header.py
@@ -62,7 +62,7 @@ def decode_header(header):
header, otherwise a lower-case string containing the name of the character
set specified in the encoded string.
- An email.Errors.HeaderParseError may be raised when certain decoding error
+ An email.errors.HeaderParseError may be raised when certain decoding error
occurs (e.g. a base64 decoding exception).
"""
# If no encoding, just return the header
@@ -337,8 +337,8 @@ class Header:
# different charsets and/or encodings, and the resulting header will
# accurately reflect each setting.
#
- # Each encoding can be email.Utils.QP (quoted-printable, for
- # ASCII-like character sets like iso-8859-1), email.Utils.BASE64
+ # Each encoding can be email.utils.QP (quoted-printable, for
+ # ASCII-like character sets like iso-8859-1), email.utils.BASE64
# (Base64, for non-ASCII like character sets like KOI8-R and
# iso-2022-jp), or None (no encoding).
#