Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
fdded56a
Commit
fdded56a
authored
Feb 07, 2011
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify that IMAP4() implicitly calls open(), and that logout() implicitly calls shutdown().
parent
7a0afd3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
Doc/library/imaplib.rst
Doc/library/imaplib.rst
+5
-3
No files found.
Doc/library/imaplib.rst
View file @
fdded56a
...
@@ -298,9 +298,10 @@ An :class:`IMAP4` instance has the following methods:
...
@@ -298,9 +298,10 @@ An :class:`IMAP4` instance has the following methods:
.. method:: IMAP4.open(host, port)
.. 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``
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)
.. method:: IMAP4.partial(message_num, message_part, start, length)
...
@@ -390,7 +391,8 @@ An :class:`IMAP4` instance has the following methods:
...
@@ -390,7 +391,8 @@ An :class:`IMAP4` instance has the following methods:
.. method:: IMAP4.shutdown()
.. 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()
.. method:: IMAP4.socket()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment