Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(17)

Side by Side Diff: Doc/library/imaplib.rst

Issue 18758: Fix internal references in the documentation
Patch Set: Created 6 years, 5 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Doc/library/http.server.rst ('k') | Doc/library/importlib.rst » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 :mod:`imaplib` --- IMAP4 protocol client 1 :mod:`imaplib` --- IMAP4 protocol client
2 ======================================== 2 ========================================
3 3
4 .. module:: imaplib 4 .. module:: imaplib
5 :synopsis: IMAP4 protocol client (requires sockets). 5 :synopsis: IMAP4 protocol client (requires sockets).
6 .. moduleauthor:: Piers Lauder <piers@communitysolutions.com.au> 6 .. moduleauthor:: Piers Lauder <piers@communitysolutions.com.au>
7 .. sectionauthor:: Piers Lauder <piers@communitysolutions.com.au> 7 .. sectionauthor:: Piers Lauder <piers@communitysolutions.com.au>
8 .. revised by ESR, January 2000 8 .. revised by ESR, January 2000
9 .. changes for IMAP4_SSL by Tino Lange <Tino.Lange@isg.de>, March 2002 9 .. changes for IMAP4_SSL by Tino Lange <Tino.Lange@isg.de>, March 2002
10 .. changes for IMAP4_stream by Piers Lauder <piers@communitysolutions.com.au>, 10 .. changes for IMAP4_stream by Piers Lauder <piers@communitysolutions.com.au>,
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 303
304 .. method:: IMAP4.noop() 304 .. method:: IMAP4.noop()
305 305
306 Send ``NOOP`` to server. 306 Send ``NOOP`` to server.
307 307
308 308
309 .. method:: IMAP4.open(host, port) 309 .. method:: IMAP4.open(host, port)
310 310
311 Opens socket to *port* at *host*. This method is implicitly called by 311 Opens socket to *port* at *host*. This method is implicitly called by
312 the :class:`IMAP4` constructor. The connection objects established by this 312 the :class:`IMAP4` constructor. The connection objects established by this
313 method will be used in the ``read``, ``readline``, ``send``, and ``shutdown`` 313 method will be used in the :meth:`IMAP4.read`, :meth:`IMAP4.readline`, :meth: `IMAP4.send`, and :meth:`IMAP4.shutdown`
314 methods. You may override this method. 314 methods. You may override this method.
315 315
316 316
317 .. method:: IMAP4.partial(message_num, message_part, start, length) 317 .. method:: IMAP4.partial(message_num, message_part, start, length)
318 318
319 Fetch truncated part of a message. Returned data is a tuple of message part 319 Fetch truncated part of a message. Returned data is a tuple of message part
320 envelope and data. 320 envelope and data.
321 321
322 322
323 .. method:: IMAP4.proxyauth(user) 323 .. method:: IMAP4.proxyauth(user)
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 M = imaplib.IMAP4() 527 M = imaplib.IMAP4()
528 M.login(getpass.getuser(), getpass.getpass()) 528 M.login(getpass.getuser(), getpass.getpass())
529 M.select() 529 M.select()
530 typ, data = M.search(None, 'ALL') 530 typ, data = M.search(None, 'ALL')
531 for num in data[0].split(): 531 for num in data[0].split():
532 typ, data = M.fetch(num, '(RFC822)') 532 typ, data = M.fetch(num, '(RFC822)')
533 print('Message %s\n%s\n' % (num, data[0][1])) 533 print('Message %s\n%s\n' % (num, data[0][1]))
534 M.close() 534 M.close()
535 M.logout() 535 M.logout()
536 536
OLDNEW
« no previous file with comments | « Doc/library/http.server.rst ('k') | Doc/library/importlib.rst » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+