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
04ae3521
Commit
04ae3521
authored
Apr 22, 1999
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor logical markup nits.
Make some module references hyperlinks.
parent
5545ae2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
Doc/lib/libimaplib.tex
Doc/lib/libimaplib.tex
+10
-10
No files found.
Doc/lib/libimaplib.tex
View file @
04ae3521
...
...
@@ -2,13 +2,13 @@
% converted by Fred L. Drake, Jr. <fdrake@acm.org>.
\section
{
\module
{
imaplib
}
---
IMAP4 protocol client.
}
IMAP4 protocol client
}
\declaremodule
{
standard
}{
imaplib
}
\modulesynopsis
{
IMAP4 protocol client (requires sockets).
}
\moduleauthor
{
Piers Lauder
}{
piers@staff.cs.usyd.edu.au
}
\sectionauthor
{
Piers Lauder
}{
piers@staff.cs.usyd.edu.au
}
\modulesynopsis
{
IMAP4 protocol client (requires sockets).
}
\indexii
{
IMAP4
}{
protocol
}
This module defines a class,
\class
{
IMAP4
}
, which encapsulates a
...
...
@@ -17,7 +17,7 @@ protocol as defined in \rfc{2060}. It is backward compatible with
IMAP4 (
\rfc
{
1730
}
) servers, but note that the
\samp
{
STATUS
}
command is
not supported in IMAP4.
A single class is provided by the
\
cod
e
{
imaplib
}
module:
A single class is provided by the
\
modul
e
{
imaplib
}
module:
\begin{classdesc}
{
IMAP4
}{
\optional
{
host
\optional
{
, port
}}}
This class implements the actual IMAP4 protocol. The connection is
...
...
@@ -45,7 +45,7 @@ The following utility functions are defined:
\begin{funcdesc}
{
Internaldate2tuple
}{
datestr
}
Converts an IMAP4 INTERNALDATE string to Coordinated Universal
Time. Returns a
\module
{
time
}
module tuple.
Time. Returns a
\
ref
module
{
time
}
module tuple.
\end{funcdesc}
\begin{funcdesc}
{
Int2AP
}{
num
}
...
...
@@ -59,7 +59,7 @@ The following utility functions are defined:
\end{funcdesc}
\begin{funcdesc}
{
Time2Internaldate
}{
date
_
time
}
Converts a
\module
{
time
}
module tuple to an IMAP4
Converts a
\
ref
module
{
time
}
module tuple to an IMAP4
\samp
{
INTERNALDATE
}
representation. Returns a string in the form:
\code
{
"DD-Mmm-YYYY HH:MM:SS +HHMM"
}
(including double-quotes).
\end{funcdesc}
...
...
@@ -71,8 +71,8 @@ The following utility functions are defined:
All IMAP4rev1 commands are represented by methods of the same name,
either upper-case or lower-case.
Each command returns a tuple:
\code
{
(
}
\var
{
type
}
,
\code
{
[
}
\var
{
data
}
,
...
\code
{
])
}
where
\var
{
type
}
is usually
\code
{
'OK'
}
or
\code
{
'NO'
}
,
Each command returns a tuple:
\code
{
(
\var
{
type
}
, [
\var
{
data
}
,
...])
}
where
\var
{
type
}
is usually
\code
{
'OK'
}
or
\code
{
'NO'
}
,
and
\var
{
data
}
is either the text from the command response, or
mandated results from the command.
...
...
@@ -201,8 +201,8 @@ The following attributes are defined on instances of \class{IMAP4}:
\begin{memberdesc}
{
PROTOCOL
_
VERSION
}
The most recent supported protocol in the
\samp
{
CAPABILITY
}
response from the server.
The most recent supported protocol in the
\samp
{
CAPABILITY
}
response from the server.
\end{memberdesc}
\begin{memberdesc}
{
debug
}
...
...
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