1616This module defines three classes, :class: `IMAP4 `, :class: `IMAP4_SSL ` and
1717:class: `IMAP4_stream `, which encapsulate a connection to an IMAP4 server and
1818implement a large subset of the IMAP4rev1 client protocol as defined in
19- :rfc: `2060 `. It is backward compatible with IMAP4 (:rfc: `1730 `) servers, but
19+ :rfc: `3501 `. It is backward compatible with IMAP4 (:rfc: `1730 `) servers, but
2020note that the ``STATUS `` command is not supported in IMAP4.
2121
2222.. include :: ../includes/wasm-notavail.rst
@@ -621,7 +621,7 @@ An :class:`IMAP4` instance has the following methods:
621621.. method :: IMAP4.store(message_set, command, flag_list)
622622
623623 Alters flag dispositions for messages in mailbox. *command * is specified by
624- section 6.4.6 of :rfc: `2060 ` as being one of "FLAGS", "+FLAGS", or "-FLAGS",
624+ section 6.4.6 of :rfc: `3501 ` as being one of "FLAGS", "+FLAGS", or "-FLAGS",
625625 optionally with a suffix of ".SILENT".
626626
627627 For example, to set the delete flag on all messages::
@@ -635,11 +635,11 @@ An :class:`IMAP4` instance has the following methods:
635635
636636 Creating flags containing ']' (for example: "[test]") violates
637637 :rfc: `3501 ` (the IMAP protocol). However, imaplib has historically
638- allowed creation of such tags , and popular IMAP servers, such as Gmail,
638+ allowed creation of such flags , and popular IMAP servers, such as Gmail,
639639 accept and produce such flags. There are non-Python programs which also
640- create such tags . Although it is an RFC violation and IMAP clients and
640+ create such flags . Although it is an RFC violation and IMAP clients and
641641 servers are supposed to be strict, imaplib still continues to allow
642- such tags to be created for backward compatibility reasons, and as of
642+ such flags to be created for backward compatibility reasons, and as of
643643 Python 3.6, handles them if they are sent from the server, since this
644644 improves real-world compatibility.
645645
0 commit comments