Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b248bdc

Browse files
committed
Merged revisions 88371 via svnmerge from
svn+ssh://[email protected]/python/branches/py3k ........ r88371 | antoine.pitrou | 2011-02-07 16:58:11 +0100 (lun., 07 févr. 2011) | 3 lines Clarify that IMAP4() implicitly calls open(), and that logout() implicitly calls shutdown(). ........
1 parent 8095b65 commit b248bdc

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Doc/library/imaplib.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,9 +288,10 @@ An :class:`IMAP4` instance has the following methods:
288288

289289
.. method:: IMAP4.open(host, port)
290290

291-
Opens socket to *port* at *host*. The connection objects established by this
291+
Opens socket to *port* at *host*. This method is implicitly called by
292+
the :class:`IMAP4` constructor. The connection objects established by this
292293
method will be used in the ``read``, ``readline``, ``send``, and ``shutdown``
293-
methods. You may override this method.
294+
methods. You may override this method.
294295

295296

296297
.. method:: IMAP4.partial(message_num, message_part, start, length)
@@ -380,7 +381,8 @@ An :class:`IMAP4` instance has the following methods:
380381

381382
.. method:: IMAP4.shutdown()
382383

383-
Close connection established in ``open``. You may override this method.
384+
Close connection established in ``open``. This method is implicitly
385+
called by :meth:`IMAP4.logout`. You may override this method.
384386

385387

386388
.. method:: IMAP4.socket()

0 commit comments

Comments
 (0)