summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2014-12-19 11:20:16 -0500
committerBarry Warsaw <barry@python.org>2014-12-19 11:20:16 -0500
commit16ef7f6426914ca49cce91450c2cd149649e9030 (patch)
tree12cb4edd7f0d84ad2eff312983239de6cbe8b721
parent123759502eed7bd3e06aab781ec23d7829b918ca (diff)
parent904c48109929a7b2522ec9812e6d273ccbc75251 (diff)
downloadcpython-git-16ef7f6426914ca49cce91450c2cd149649e9030.tar.gz
Fixed typo.
-rw-r--r--Doc/library/email.policy.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/email.policy.rst b/Doc/library/email.policy.rst
index 97358f014c..d4e3fc186a 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::