[Python-checkins] cpython (merge 3.4 -> 3.4): Fix typo.
barry.warsaw
python-checkins at python.org
Fri Dec 19 17:22:04 CET 2014
https://hg.python.org/cpython/rev/04d349f090c6
changeset: 93933:04d349f090c6
branch: 3.4
parent: 93928:13f206394380
parent: 93930:76fa9188e45f
user: Barry Warsaw <barry at python.org>
date: Fri Dec 19 11:21:35 2014 -0500
summary:
Fix typo.
files:
Doc/library/email.policy.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/email.policy.rst b/Doc/library/email.policy.rst
--- a/Doc/library/email.policy.rst
+++ b/Doc/library/email.policy.rst
@@ -99,7 +99,7 @@
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::
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list