From: Savage Mechanic Date: Sat, 16 May 2026 18:24:41 +0000 (+0100) Subject: gh-67512: Document IMAP4.append() flags argument (#149907) X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fheads%2Fmain;p=thirdparty%2FPython%2Fcpython.git gh-67512: Document IMAP4.append() flags argument (#149907) --- diff --git a/Doc/library/imaplib.rst b/Doc/library/imaplib.rst index b002f4978123..df2468f7124e 100644 --- a/Doc/library/imaplib.rst +++ b/Doc/library/imaplib.rst @@ -199,6 +199,11 @@ An :class:`IMAP4` instance has the following methods: Append *message* to named mailbox. + *flags* may be ``None`` or a string of IMAP flag tokens. Multiple + flags are separated by spaces, for example ``r'\Seen \Answered'``. + If *flags* is not already enclosed in parentheses, parentheses are + added automatically. + .. method:: IMAP4.authenticate(mechanism, authobject)