https://github.com/python/cpython/commit/b8885ecccb50c193d02e1174e515bdb35bdb261a
commit: b8885ecccb50c193d02e1174e515bdb35bdb261a
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: serhiy-storchaka <[email protected]>
date: 2026-07-05T08:03:59Z
summary:

[3.13] gh-67512: Document IMAP4.append() flags argument (GH-149907) (GH-153077)

(cherry picked from commit 5f8d9d35753e22946880d4fefb123e8234706266)

Co-authored-by: Savage Mechanic <[email protected]>

files:
M Doc/library/imaplib.rst

diff --git a/Doc/library/imaplib.rst b/Doc/library/imaplib.rst
index 96541d297e472b..efe8e6534e39c8 100644
--- a/Doc/library/imaplib.rst
+++ b/Doc/library/imaplib.rst
@@ -216,6 +216,11 @@ An :class:`IMAP4` instance has the following methods:
 
    Append *message* to named mailbox.
 
+   *flags* may be ``None`` or a string of IMAP flag tokens.  Multiple
+   flags are separated by spaces, for example ``r'\Seen \Answered'``.
+   If *flags* is not already enclosed in parentheses, parentheses are
+   added automatically.
+
 
 .. method:: IMAP4.authenticate(mechanism, authobject)
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to