Skip to content

Commit 5f8d9d3

Browse files
gh-67512: Document IMAP4.append() flags argument (#149907)
1 parent a7ed0c9 commit 5f8d9d3

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

200200
Append *message* to named mailbox.
201201

202+
*flags* may be ``None`` or a string of IMAP flag tokens. Multiple
203+
flags are separated by spaces, for example ``r'\Seen \Answered'``.
204+
If *flags* is not already enclosed in parentheses, parentheses are
205+
added automatically.
206+
202207

203208
.. method:: IMAP4.authenticate(mechanism, authobject)
204209

0 commit comments

Comments
 (0)