[Python-checkins] r88373 - in python/branches/release27-maint: Doc/library/imaplib.rst
antoine.pitrou
python-checkins at python.org
Mon Feb 7 17:03:48 CET 2011
Author: antoine.pitrou
Date: Mon Feb 7 17:03:47 2011
New Revision: 88373
Log:
Merged revisions 88371 via svnmerge from
svn+ssh://pythondev@svn.python.org/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().
........
Modified:
python/branches/release27-maint/ (props changed)
python/branches/release27-maint/Doc/library/imaplib.rst
Modified: python/branches/release27-maint/Doc/library/imaplib.rst
==============================================================================
--- python/branches/release27-maint/Doc/library/imaplib.rst (original)
+++ python/branches/release27-maint/Doc/library/imaplib.rst Mon Feb 7 17:03:47 2011
@@ -307,9 +307,10 @@
.. method:: IMAP4.open(host, port)
- Opens socket to *port* at *host*. The connection objects established by this
+ Opens socket to *port* at *host*. This method is implicitly called by
+ the :class:`IMAP4` constructor. The connection objects established by this
method will be used in the ``read``, ``readline``, ``send``, and ``shutdown``
- methods. You may override this method.
+ methods. You may override this method.
.. method:: IMAP4.partial(message_num, message_part, start, length)
@@ -405,7 +406,8 @@
.. method:: IMAP4.shutdown()
- Close connection established in ``open``. You may override this method.
+ Close connection established in ``open``. This method is implicitly
+ called by :meth:`IMAP4.logout`. You may override this method.
.. method:: IMAP4.socket()
More information about the Python-checkins
mailing list