diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-08-19 06:59:18 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-08-19 06:59:18 (GMT) |
commit | e0f0cf406757cea35db0aeaad592c2418d521b45 (patch) | |
tree | f2b28faff6f7e583abc5251ddb19aa1c05da280e /Doc/library/email.policy.rst | |
parent | ca64d25dd285a784186bc16b3ee39ff8680cabdf (diff) | |
download | cpython-e0f0cf406757cea35db0aeaad592c2418d521b45.zip cpython-e0f0cf406757cea35db0aeaad592c2418d521b45.tar.gz cpython-e0f0cf406757cea35db0aeaad592c2418d521b45.tar.bz2 |
Issue #18761: Improved cross-references in email documentation.
Diffstat (limited to 'Doc/library/email.policy.rst')
-rw-r--r-- | Doc/library/email.policy.rst | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Doc/library/email.policy.rst b/Doc/library/email.policy.rst index 99806ee..cb2023c 100644 --- a/Doc/library/email.policy.rst +++ b/Doc/library/email.policy.rst @@ -304,7 +304,7 @@ added matters. To illustrate:: This concrete :class:`Policy` is the backward compatibility policy. It replicates the behavior of the email package in Python 3.2. The - :mod:`policy` module also defines an instance of this class, + :mod:`~email.policy` module also defines an instance of this class, :const:`compat32`, that is used as the default policy. Thus the default behavior of the email package is to maintain compatibility with Python 3.2. @@ -448,10 +448,11 @@ added matters. To illustrate:: .. method:: fold_binary(name, value) - The same as :meth:`fold` if :attr:`cte_type` is ``7bit``, except that - the returned value is bytes. + The same as :meth:`fold` if :attr:`~Policy.cte_type` is ``7bit``, except + that the returned value is bytes. - If :attr:`cte_type` is ``8bit``, non-ASCII binary data is converted back + If :attr:`~Policy.cte_type` is ``8bit``, non-ASCII binary data is + converted back into bytes. Headers with binary data are not refolded, regardless of the ``refold_header`` setting, since there is no way to know whether the binary data consists of single byte characters or multibyte characters. |