2323This module defines three classes, :class: `IMAP4 `, :class: `IMAP4_SSL ` and
2424:class: `IMAP4_stream `, which encapsulate a connection to an IMAP4 server and
2525implement a large subset of the IMAP4rev1 client protocol as defined in
26- :rfc: `2060 `. It is backward compatible with IMAP4 (:rfc: `1730 `) servers, but
26+ :rfc: `3501 `. It is backward compatible with IMAP4 (:rfc: `1730 `) servers, but
2727note that the ``STATUS `` command is not supported in IMAP4.
2828
2929.. include :: ../includes/wasm-notavail.rst
@@ -541,7 +541,7 @@ An :class:`IMAP4` instance has the following methods:
541541.. method :: IMAP4.store(message_set, command, flag_list)
542542
543543 Alters flag dispositions for messages in mailbox. *command * is specified by
544- section 6.4.6 of :rfc: `2060 ` as being one of "FLAGS", "+FLAGS", or "-FLAGS",
544+ section 6.4.6 of :rfc: `3501 ` as being one of "FLAGS", "+FLAGS", or "-FLAGS",
545545 optionally with a suffix of ".SILENT".
546546
547547 For example, to set the delete flag on all messages::
@@ -555,11 +555,11 @@ An :class:`IMAP4` instance has the following methods:
555555
556556 Creating flags containing ']' (for example: "[test]") violates
557557 :rfc: `3501 ` (the IMAP protocol). However, imaplib has historically
558- allowed creation of such tags , and popular IMAP servers, such as Gmail,
558+ allowed creation of such flags , and popular IMAP servers, such as Gmail,
559559 accept and produce such flags. There are non-Python programs which also
560- create such tags . Although it is an RFC violation and IMAP clients and
560+ create such flags . Although it is an RFC violation and IMAP clients and
561561 servers are supposed to be strict, imaplib still continues to allow
562- such tags to be created for backward compatibility reasons, and as of
562+ such flags to be created for backward compatibility reasons, and as of
563563 Python 3.6, handles them if they are sent from the server, since this
564564 improves real-world compatibility.
565565
0 commit comments