#20531: Revert e20f98a8ed71, the 3.4 version of the #19063 fix.

This commit is contained in:
R David Murray 2014-02-07 12:40:37 -05:00
parent 790202d613
commit 27e9de669b
5 changed files with 38 additions and 78 deletions

View file

@ -196,13 +196,7 @@ Here are the methods of the :class:`Message` class:
Set the entire message object's payload to *payload*. It is the client's
responsibility to ensure the payload invariants. Optional *charset* sets
the message's character set; see :meth:`set_charset` for details. If
*payload* is a string containing non-ASCII characters, *charset* is
required.
.. versionchanged:: 3.4
Previous to 3.4 *charset* was not required when *payload* was a
non-ASCII string, but omitting it produced nonsense results.
the message's default character set; see :meth:`set_charset` for details.
.. method:: set_charset(charset)