summaryrefslogtreecommitdiffstats
path: root/Doc/library/email.policy.rst
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2014-12-19 16:20:00 (GMT)
committerBarry Warsaw <barry@python.org>2014-12-19 16:20:00 (GMT)
commit904c48109929a7b2522ec9812e6d273ccbc75251 (patch)
tree5d1a90e1bd4d18953bb8bc3ab07eef528e7877f7 /Doc/library/email.policy.rst
parent1b9763d0a9c62c13dc2a06770032e5906b610c96 (diff)
downloadcpython-904c48109929a7b2522ec9812e6d273ccbc75251.zip
cpython-904c48109929a7b2522ec9812e6d273ccbc75251.tar.gz
cpython-904c48109929a7b2522ec9812e6d273ccbc75251.tar.bz2
Fix typo.
Diffstat (limited to 'Doc/library/email.policy.rst')
-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 97358f0..d4e3fc1 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::