bpo-40375: Implement imaplib.IMAP4.unselect (GH-19712)

This commit is contained in:
Dong-hee Na 2020-04-27 23:52:55 +09:00 committed by GitHub
parent 91a5ae1835
commit c5c42815ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 59 additions and 0 deletions

View file

@ -582,6 +582,15 @@ An :class:`IMAP4` instance has the following methods:
Unsubscribe from old mailbox.
.. method:: IMAP4.unselect()
:meth:`imaplib.IMAP4.unselect` frees server's resources associated with the
selected mailbox and returns the server to the authenticated
state. This command performs the same actions as :meth:`imaplib.IMAP4.close`, except
that no messages are permanently removed from the currently
selected mailbox.
.. versionadded:: 3.9
.. method:: IMAP4.xatom(name[, ...])