2424This module defines three classes, :class: `IMAP4 `, :class: `IMAP4_SSL ` and
2525:class: `IMAP4_stream `, which encapsulate a connection to an IMAP4 server and
2626implement a large subset of the IMAP4rev1 client protocol as defined in
27- :rfc: `2060 `. It is backward compatible with IMAP4 (:rfc: `1730 `) servers, but
27+ :rfc: `3501 `. It is backward compatible with IMAP4 (:rfc: `1730 `) servers, but
2828note that the ``STATUS `` command is not supported in IMAP4.
2929
3030.. include :: ../includes/wasm-notavail.rst
@@ -629,7 +629,7 @@ An :class:`IMAP4` instance has the following methods:
629629.. method :: IMAP4.store(message_set, command, flag_list)
630630
631631 Alters flag dispositions for messages in mailbox. *command * is specified by
632- section 6.4.6 of :rfc: `2060 ` as being one of "FLAGS", "+FLAGS", or "-FLAGS",
632+ section 6.4.6 of :rfc: `3501 ` as being one of "FLAGS", "+FLAGS", or "-FLAGS",
633633 optionally with a suffix of ".SILENT".
634634
635635 For example, to set the delete flag on all messages::
@@ -643,11 +643,11 @@ An :class:`IMAP4` instance has the following methods:
643643
644644 Creating flags containing ']' (for example: "[test]") violates
645645 :rfc: `3501 ` (the IMAP protocol). However, imaplib has historically
646- allowed creation of such tags , and popular IMAP servers, such as Gmail,
646+ allowed creation of such flags , and popular IMAP servers, such as Gmail,
647647 accept and produce such flags. There are non-Python programs which also
648- create such tags . Although it is an RFC violation and IMAP clients and
648+ create such flags . Although it is an RFC violation and IMAP clients and
649649 servers are supposed to be strict, imaplib still continues to allow
650- such tags to be created for backward compatibility reasons, and as of
650+ such flags to be created for backward compatibility reasons, and as of
651651 Python 3.6, handles them if they are sent from the server, since this
652652 improves real-world compatibility.
653653
0 commit comments