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
3a4ceb70
Commit
3a4ceb70
authored
Jul 07, 1999
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Several methods return tuples, not lists.
parent
363d67c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
Doc/lib/libpoplib.tex
Doc/lib/libpoplib.tex
+5
-4
No files found.
Doc/lib/libpoplib.tex
View file @
3a4ceb70
...
@@ -70,13 +70,13 @@ Get mailbox status. The result is a tuple of 2 integers:
...
@@ -70,13 +70,13 @@ Get mailbox status. The result is a tuple of 2 integers:
\begin{methoddesc}
{
list
}{
\optional
{
which
}}
\begin{methoddesc}
{
list
}{
\optional
{
which
}}
Request message list, result is in the form
Request message list, result is in the form
\code
{
['response', ['mesg
_
num octets', ...]]
}
. If
\var
{
which
}
is
\code
{
(
\var
{
response
}
, ['mesg
_
num octets', ...])
}
. If
\var
{
which
}
is
set, it is the message to list.
set, it is the message to list.
\end{methoddesc}
\end{methoddesc}
\begin{methoddesc}
{
retr
}{
which
}
\begin{methoddesc}
{
retr
}{
which
}
Retrieve whole message number
\var
{
which
}
. Result is in form
Retrieve whole message number
\var
{
which
}
. Result is in form
\code
{
['response', ['line', ...], octets]
}
.
\code
{
(
\var
{
response
}
, ['line', ...],
\var
{
octets
}
)
}
.
\end{methoddesc}
\end{methoddesc}
\begin{methoddesc}
{
dele
}{
which
}
\begin{methoddesc}
{
dele
}{
which
}
...
@@ -98,14 +98,15 @@ Signoff: commit changes, unlock mailbox, drop connection.
...
@@ -98,14 +98,15 @@ Signoff: commit changes, unlock mailbox, drop connection.
\begin{methoddesc}
{
top
}{
which, howmuch
}
\begin{methoddesc}
{
top
}{
which, howmuch
}
Retrieves the message header plus
\var
{
howmuch
}
lines of the message
Retrieves the message header plus
\var
{
howmuch
}
lines of the message
after the header of message number
\var
{
which
}
. Result is in form
after the header of message number
\var
{
which
}
. Result is in form
\code
{
['response', ['line', ...], octets]
}
.
\code
{
(
\var
{
response
}
, ['line', ...],
\var
{
octets
}
)
}
.
\end{methoddesc}
\end{methoddesc}
\begin{methoddesc}
{
uidl
}{
\optional
{
which
}}
\begin{methoddesc}
{
uidl
}{
\optional
{
which
}}
Return message digest (unique id) list.
Return message digest (unique id) list.
If
\var
{
which
}
is specified, result contains the unique id for that
If
\var
{
which
}
is specified, result contains the unique id for that
message in the form
\code
{
'
\var
{
response
}
\ \var
{
mesgnum
}
\ \var
{
uid
}}
,
message in the form
\code
{
'
\var
{
response
}
\ \var
{
mesgnum
}
\ \var
{
uid
}}
,
otherwise result is list
\code
{
['response', ['mesgnum uid', ...], octets]
}
.
otherwise result is list
\code
{
(
\var
{
response
}
, ['mesgnum uid', ...],
\var
{
octets
}
)
}
.
\end{methoddesc}
\end{methoddesc}
...
...
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