Skip to content

Commit 2cdbe5e

Browse files
gh-67512: Document imaplib append flags
1 parent 161b306 commit 2cdbe5e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Doc/library/imaplib.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,11 @@ An :class:`IMAP4` instance has the following methods:
207207

208208
Append *message* to named mailbox.
209209

210+
*flags* may be ``None`` or a string of IMAP flag tokens. Multiple
211+
flags are separated by spaces, for example ``r'\Seen \Answered'``.
212+
If *flags* is not already enclosed in parentheses, parentheses are
213+
added automatically.
214+
210215

211216
.. method:: IMAP4.authenticate(mechanism, authobject)
212217

0 commit comments

Comments
 (0)