Kaydet (Commit) e2effbd3 authored tarafından Fred Drake's avatar Fred Drake

Fix minor (English) usage nits.

üst bcd5454d
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
%the imaplib ``chapter''. %the imaplib ``chapter''.
\section{\module{poplib} --- \section{\module{poplib} ---
POP3 protocol client.} POP3 protocol client}
\declaremodule{standard}{poplib}
\declaremodule{standard}{poplib}
\modulesynopsis{POP3 protocol client (requires sockets).} \modulesynopsis{POP3 protocol client (requires sockets).}
\indexii{POP3}{protocol} \indexii{POP3}{protocol}
...@@ -24,7 +24,7 @@ created when the instance is initialized. ...@@ -24,7 +24,7 @@ created when the instance is initialized.
If \var{port} is omitted, the standard POP3 port (110) is used. If \var{port} is omitted, the standard POP3 port (110) is used.
\end{classdesc} \end{classdesc}
One exception is defined as attributes of the \module{poplib} module: One exception is defined as an attribute of the \module{poplib} module:
\begin{excdesc}{error_proto} \begin{excdesc}{error_proto}
Exception raised on any errors. The reason for the exception is Exception raised on any errors. The reason for the exception is
...@@ -32,13 +32,10 @@ passed to the constructor as a string. ...@@ -32,13 +32,10 @@ passed to the constructor as a string.
\end{excdesc} \end{excdesc}
\subsection{POP3 Objects} \subsection{POP3 Objects \label{pop3-objects}}
\label{pop3-objects}
All POP3 commands are represented by methods of the same name, All POP3 commands are represented by methods of the same name,
in lower-case. in lower-case; most return the response text sent by the server.
Most commands return the response text sent by the server.
An \class{POP3} instance has the following methods: An \class{POP3} instance has the following methods:
...@@ -112,8 +109,7 @@ message, otherwise result is list \code{['response', ...@@ -112,8 +109,7 @@ message, otherwise result is list \code{['response',
\end{methoddesc} \end{methoddesc}
\subsection{POP3 Example} \subsection{POP3 Example \label{pop3-example}}
\label{pop3-example}
Here is a minimal example (without error checking) that opens a Here is a minimal example (without error checking) that opens a
mailbox and retrieves and prints all messages: mailbox and retrieves and prints all messages:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment