Skip to content

Commit b8885ec

Browse files
[3.13] gh-67512: Document IMAP4.append() flags argument (GH-149907) (GH-153077)
(cherry picked from commit 5f8d9d3) Co-authored-by: Savage Mechanic <savagemechanic@github.com>
1 parent 52f2998 commit b8885ec

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

217217
Append *message* to named mailbox.
218218

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

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

0 commit comments

Comments
 (0)