diff options
| author | Mike Edmunds <medmunds@gmail.com> | 2026-03-16 14:28:15 -0300 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2026-03-16 15:01:15 -0300 |
| commit | 4b2edb3418851c09dd839f1a2cba74051fe9d420 (patch) | |
| tree | 36ecafe09d7ae18f93f0f2df079383105ace2a15 /docs/topics | |
| parent | 2333d56696141303000986a16553205ece993c67 (diff) | |
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.)
Diffstat (limited to 'docs/topics')
| -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 c10aac2f80..5946e3a9c1 100644 --- a/docs/topics/email.txt +++ b/docs/topics/email.txt @@ -431,7 +431,7 @@ email backend API :ref:`provides an alternative Older versions ignored ``fail_silently=True`` when a ``connection`` was also provided. This now raises a ``TypeError``. - .. 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. |
