From 1c25de69ee63c80e6a6640a941b44f623d271a0e Mon Sep 17 00:00:00 2001 From: Amaury Forgeot d'Arc Date: Sun, 12 Jul 2009 16:43:19 +0000 Subject: Merged revisions 73952 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk (Only docstrings were modified, won't backport to 3.1) ........ r73952 | amaury.forgeotdarc | 2009-07-11 16:33:51 +0200 (sam., 11 juil. 2009) | 4 lines #2622 Import errors in email.message, from a py2app standalone application. Patch by Mads Kiilerich, Reviewed by Barry Warsaw. ........ --- Lib/email/header.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/email/header.py') diff --git a/Lib/email/header.py b/Lib/email/header.py index 3215a80f9b..c924d3a722 100644 --- a/Lib/email/header.py +++ b/Lib/email/header.py @@ -61,7 +61,7 @@ def decode_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 with no charset. -- cgit v1.2.1