From a996d4f1370c6fad193fb87dac0a81833c632400 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Tue, 11 Mar 2003 05:03:25 +0000 Subject: [PATCH] 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. --- Doc/lib/emailmimebase.tex | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Doc/lib/emailmimebase.tex b/Doc/lib/emailmimebase.tex index 6bbd5dd840..3318d6aa8d 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.} -- 2.50.1