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.
........
This commit is contained in:
Amaury Forgeot d'Arc 2009-07-12 16:43:19 +00:00
parent c9e6cecdce
commit 1c25de69ee
5 changed files with 9 additions and 9 deletions

View file

@ -20,7 +20,7 @@ in To:, From:, Cc:, etc. fields, as well as Subject: lines.
This module does not do the line wrapping or end-of-line character conversion
necessary for proper internationalized headers; it only does dumb encoding and
decoding. To deal with the various line wrapping issues, use the email.Header
decoding. To deal with the various line wrapping issues, use the email.header
module.
"""
@ -104,7 +104,7 @@ def decode(string):
This function does not parse a full MIME header value encoded with
base64 (like =?iso-8895-1?b?bmloISBuaWgh?=) -- please use the high
level email.Header class for that functionality.
level email.header class for that functionality.
"""
if not string:
return bytes()