summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2014-12-19 16:21:35 (GMT)
committerBarry Warsaw <barry@python.org>2014-12-19 16:21:35 (GMT)
commita62b96b86c99eedbe35f8b434b1bc100ce713813 (patch)
tree98e273e913d98a3c9d3bd4c25a426787ad8fb75e
parent4d825b45a07353d180754642b759ff10eaa204f2 (diff)
parent904c48109929a7b2522ec9812e6d273ccbc75251 (diff)
downloadcpython-a62b96b86c99eedbe35f8b434b1bc100ce713813.zip
cpython-a62b96b86c99eedbe35f8b434b1bc100ce713813.tar.gz
cpython-a62b96b86c99eedbe35f8b434b1bc100ce713813.tar.bz2
Fix 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 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::