From bf32ccfe60b0d8eb02e8edd1c4cf980511ef8bb2 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Sun, 5 Jul 2026 10:05:25 +0200 Subject: [PATCH] [3.14] gh-67512: Document IMAP4.append() flags argument (GH-149907) (GH-153076) (cherry picked from commit 5f8d9d35753e22946880d4fefb123e8234706266) Co-authored-by: Savage Mechanic --- Doc/library/imaplib.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Doc/library/imaplib.rst b/Doc/library/imaplib.rst index b9f7325a851e..514c22c69462 100644 --- a/Doc/library/imaplib.rst +++ b/Doc/library/imaplib.rst @@ -217,6 +217,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) -- 2.47.3