Commit a996d4f1 authored by Barry Warsaw's avatar Barry Warsaw

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.
parent 12dc230c
......@@ -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.}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment