From 904c48109929a7b2522ec9812e6d273ccbc75251 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Fri, 19 Dec 2014 11:20:00 -0500 Subject: [PATCH] Fix typo. --- Doc/library/email.policy.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/email.policy.rst b/Doc/library/email.policy.rst index 97358f014cb..d4e3fc186a5 100644 --- a/Doc/library/email.policy.rst +++ b/Doc/library/email.policy.rst @@ -99,7 +99,7 @@ separators. Some email package methods accept a *policy* keyword argument, allowing the policy to be overridden for that method. For example, the following code uses -the :meth:`~email.message.Message.as_string` method of the *msg* object from +the :meth:`~email.message.Message.as_bytes` method of the *msg* object from the previous example and writes the message to a file using the native line separators for the platform on which it is running::