diff options
author | Barry Warsaw <barry@python.org> | 2003-03-11 05:03:25 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2003-03-11 05:03:25 (GMT) |
commit | a996d4f1370c6fad193fb87dac0a81833c632400 (patch) | |
tree | f032081d4b988e997a0ed2f03b1f7b146a5563b6 /Doc/lib/emailmimebase.tex | |
parent | 12dc230c00c12b1c608ee0a09352ded895693bce (diff) | |
download | cpython-a996d4f1370c6fad193fb87dac0a81833c632400.zip cpython-a996d4f1370c6fad193fb87dac0a81833c632400.tar.gz cpython-a996d4f1370c6fad193fb87dac0a81833c632400.tar.bz2 |
For email 2.5b1, we no longer add a trailing newline to
MIMEText.__init__()'s _text argument if it doesn't already end in a
newline. This may be controversial.
Diffstat (limited to 'Doc/lib/emailmimebase.tex')
-rw-r--r-- | Doc/lib/emailmimebase.tex | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/lib/emailmimebase.tex b/Doc/lib/emailmimebase.tex index 6bbd5dd..3318d6a 100644 --- a/Doc/lib/emailmimebase.tex +++ b/Doc/lib/emailmimebase.tex @@ -151,8 +151,7 @@ used to create MIME objects of major type \mimetype{text}. minor type and defaults to \mimetype{plain}. \var{_charset} is the character set of the text and is passed as a parameter to the \class{MIMENonMultipart} constructor; it defaults to \code{us-ascii}. No -guessing or encoding is performed on the text data, but a newline is -appended to \var{_text} if it doesn't already end with a newline. +guessing or encoding is performed on the text data. \deprecated{2.2.2}{The \var{_encoding} argument has been deprecated. Encoding now happens implicitly based on the \var{_charset} argument.} |