[Python-checkins] cpython (3.4): Fix typo.

barry.warsaw python-checkins at python.org
Fri Dec 19 17:22:05 CET 2014


https://hg.python.org/cpython/rev/76fa9188e45f
changeset:   93930:76fa9188e45f
branch:      3.4
parent:      93926:c2bc0da1d1f9
user:        Barry Warsaw <barry at python.org>
date:        Fri Dec 19 11:20:00 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