mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
bpo-40375: Implement imaplib.IMAP4.unselect (GH-19712)
This commit is contained in:
parent
91a5ae1835
commit
c5c42815ec
5 changed files with 59 additions and 0 deletions
|
|
@ -320,6 +320,13 @@ with this change. The overridden methods of :class:`~imaplib.IMAP4_SSL` and
|
|||
:class:`~imaplib.IMAP4_stream` were applied to this change.
|
||||
(Contributed by Dong-hee Na in :issue:`38615`.)
|
||||
|
||||
:meth:`imaplib.IMAP4.unselect` is added.
|
||||
: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. (Contributed by Dong-hee Na in :issue:`40375`.)
|
||||
|
||||
importlib
|
||||
---------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue