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
@@ -632,7 +632,7 @@ An :class:`IMAP4` instance has the following methods:
632632.. method :: IMAP4.store(message_set, command, flag_list)
633633
634634 Alters flag dispositions for messages in mailbox. *command * is specified by
635- section 6.4.6 of :rfc: `2060 ` as being one of "FLAGS", "+FLAGS", or "-FLAGS",
635+ section 6.4.6 of :rfc: `3501 ` as being one of "FLAGS", "+FLAGS", or "-FLAGS",
636636 optionally with a suffix of ".SILENT".
637637
638638 For example, to set the delete flag on all messages::
@@ -646,11 +646,11 @@ An :class:`IMAP4` instance has the following methods:
646646
647647 Creating flags containing ']' (for example: "[test]") violates
648648 :rfc: `3501 ` (the IMAP protocol). However, imaplib has historically
649- allowed creation of such tags , and popular IMAP servers, such as Gmail,
649+ allowed creation of such flags , and popular IMAP servers, such as Gmail,
650650 accept and produce such flags. There are non-Python programs which also
651- create such tags . Although it is an RFC violation and IMAP clients and
651+ create such flags . Although it is an RFC violation and IMAP clients and
652652 servers are supposed to be strict, imaplib still continues to allow
653- such tags to be created for backward compatibility reasons, and as of
653+ such flags to be created for backward compatibility reasons, and as of
654654 Python 3.6, handles them if they are sent from the server, since this
655655 improves real-world compatibility.
656656
0 commit comments