diff options
| author | Mike Edmunds <medmunds@gmail.com> | 2026-03-16 14:28:15 -0300 |
|---|---|---|
| committer | Natalia <124304+nessita@users.noreply.github.com> | 2026-03-16 15:04:07 -0300 |
| commit | b787274edebfd08c52acd0eda1f826b2cad79466 (patch) | |
| tree | 1eadc5b2fbb07945721028f36fafe9eddf15dae2 | |
| parent | fc4bcb35594f379bbe93cf0c1988ebbce4057d60 (diff) | |
[6.0.x] Corrected signature for EmailMessage.message() in email topics docs.
Fixed the EmailMessage.message() method signature in the docs to
reinforce that the `policy` argument is keyword-only. (The text already
describes it correctly as keyword-only.)
Backport of 4b2edb3418851c09dd839f1a2cba74051fe9d420 from main.
| -rw-r--r-- | docs/topics/email.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/email.txt b/docs/topics/email.txt index d8e8f177d5..e6d297058c 100644 --- a/docs/topics/email.txt +++ b/docs/topics/email.txt @@ -409,7 +409,7 @@ email backend API :ref:`provides an alternative an exception. It will return ``1`` if the message was sent successfully, otherwise ``0``. - .. method:: message(policy=email.policy.default) + .. method:: message(*, policy=email.policy.default) Constructs and returns a Python :class:`email.message.EmailMessage` object representing the message to be sent. |
