Skip to content

Commit bf32ccf

Browse files
[3.14] gh-67512: Document IMAP4.append() flags argument (GH-149907) (GH-153076)
(cherry picked from commit 5f8d9d3) Co-authored-by: Savage Mechanic <savagemechanic@github.com>
1 parent 03d0909 commit bf32ccf

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
@@ -217,6 +217,11 @@ An :class:`IMAP4` instance has the following methods:
217217

218218
Append *message* to named mailbox.
219219

220+
*flags* may be ``None`` or a string of IMAP flag tokens. Multiple
221+
flags are separated by spaces, for example ``r'\Seen \Answered'``.
222+
If *flags* is not already enclosed in parentheses, parentheses are
223+
added automatically.
224+
220225

221226
.. method:: IMAP4.authenticate(mechanism, authobject)
222227

0 commit comments

Comments
 (0)