summaryrefslogtreecommitdiff
path: root/docs/topics/email.txt
diff options
context:
space:
mode:
authorSaJH <wogur981208@gmail.com>2025-08-26 00:50:53 +0900
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-08-28 08:52:43 +0200
commit3c0c54351b58e9386375d2bd7a8c60dadc4bb6e8 (patch)
tree38a78ca516fc998ae29818fa7950af5278bc7c9b /docs/topics/email.txt
parent1285de557b0b8b9c5ebe5de0114b2da5abe60f80 (diff)
Fixed #36570 -- Removed unnecessary :py domain from documentation roles.
Signed-off-by: SaJH <wogur981208@gmail.com>
Diffstat (limited to 'docs/topics/email.txt')
-rw-r--r--docs/topics/email.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/topics/email.txt b/docs/topics/email.txt
index bcb8737f4c..0087a2655c 100644
--- a/docs/topics/email.txt
+++ b/docs/topics/email.txt
@@ -418,11 +418,11 @@ The class has the following methods:
The keyword argument ``policy`` allows specifying the set of rules for
updating and serializing the representation of the message. It must be an
- :py:mod:`email.policy.Policy <email.policy>` object. Defaults to
- :py:data:`email.policy.default`. In certain cases you may want to use
- :py:data:`~email.policy.SMTP`, :py:data:`~email.policy.SMTPUTF8` or a custom
+ :mod:`email.policy.Policy <email.policy>` object. Defaults to
+ :data:`email.policy.default`. In certain cases you may want to use
+ :data:`~email.policy.SMTP`, :data:`~email.policy.SMTPUTF8` or a custom
policy. For example, :class:`django.core.mail.backends.smtp.EmailBackend`
- uses the :py:data:`~email.policy.SMTP` policy to ensure ``\r\n`` line endings
+ uses the :data:`~email.policy.SMTP` policy to ensure ``\r\n`` line endings
as required by the SMTP protocol.
If you ever need to extend Django's :class:`~django.core.mail.EmailMessage`
@@ -432,7 +432,7 @@ The class has the following methods:
.. versionchanged:: 6.0
The ``policy`` keyword argument was added and the return type was updated
- to an instance of :py:class:`~email.message.EmailMessage`.
+ to an instance of :class:`~email.message.EmailMessage`.
* ``recipients()`` returns a list of all the recipients of the message,
whether they're recorded in the ``to``, ``cc`` or ``bcc`` attributes. This