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