Skip to content

Commit aaec057

Browse files
savagemechanicmiss-islington
authored andcommitted
gh-67512: Document IMAP4.append() flags argument (GH-149907)
(cherry picked from commit 5f8d9d3) Co-authored-by: Savage Mechanic <savagemechanic@github.com>
1 parent 2c99ec4 commit aaec057

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

210210
Append *message* to named mailbox.
211211

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

213218
.. method:: IMAP4.authenticate(mechanism, authobject)
214219

0 commit comments

Comments
 (0)