Fixed up index entries.

Adjusted one formatting problem (long \code{} in running text).
This commit is contained in:
Fred Drake 1998-01-07 13:23:32 +00:00
parent 1566a1d72c
commit 6279fccf4c
2 changed files with 18 additions and 14 deletions

View File

@ -1,6 +1,8 @@
\section{Standard Module \sectcode{nntplib}} \section{Standard Module \sectcode{nntplib}}
\label{module-nntplib} \label{module-nntplib}
\stmodindex{nntplib} \stmodindex{nntplib}
\indexii{NNTP}{protocol}
\index{RFC!977}
\renewcommand{\indexsubitem}{(in module nntplib)} \renewcommand{\indexsubitem}{(in module nntplib)}
@ -51,7 +53,7 @@ valid headers):
% %
The module itself defines the following items: The module itself defines the following items:
\begin{funcdesc}{NNTP}{host\optional{\, port}} \begin{funcdesc}{NNTP}{host\optional{, port}}
Return a new instance of the \code{NNTP} class, representing a Return a new instance of the \code{NNTP} class, representing a
connection to the NNTP server running on host \var{host}, listening at connection to the NNTP server running on host \var{host}, listening at
port \var{port}. The default \var{port} is 119. port \var{port}. The default \var{port} is 119.
@ -99,7 +101,7 @@ higher produces the maximum amount of debugging output, logging each
line sent and received on the connection (including message text). line sent and received on the connection (including message text).
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{newgroups}{date\, time} \begin{funcdesc}{newgroups}{date, time}
Send a \samp{NEWGROUPS} command. The \var{date} argument should be a Send a \samp{NEWGROUPS} command. The \var{date} argument should be a
string of the form \code{"\var{yy}\var{mm}\var{dd}"} indicating the string of the form \code{"\var{yy}\var{mm}\var{dd}"} indicating the
date, and \var{time} should be a string of the form date, and \var{time} should be a string of the form
@ -108,7 +110,7 @@ date, and \var{time} should be a string of the form
group names that are new since the given date and time. group names that are new since the given date and time.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{newnews}{group\, date\, time} \begin{funcdesc}{newnews}{group, date, time}
Send a \samp{NEWNEWS} command. Here, \var{group} is a group name or Send a \samp{NEWNEWS} command. Here, \var{group} is a group name or
\code{"*"}, and \var{date} and \var{time} have the same meaning as for \code{"*"}, and \var{date} and \var{time} have the same meaning as for
\code{newgroups()}. Return a pair \code{(\var{response}, \code{newgroups()}. Return a pair \code{(\var{response},
@ -180,7 +182,7 @@ uninterpreted list of lines, without trailing newlines).
Send a \samp{SLAVE} command. Return the server's \var{response}. Send a \samp{SLAVE} command. Return the server's \var{response}.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{xhdr}{header\, string} \begin{funcdesc}{xhdr}{header, string}
Send an \samp{XHDR} command. This command is not defined in the RFC Send an \samp{XHDR} command. This command is not defined in the RFC
but is a common extension. The \var{header} argument is a header but is a common extension. The \var{header} argument is a header
keyword, e.g. \code{"subject"}. The \var{string} argument should have keyword, e.g. \code{"subject"}. The \var{string} argument should have
@ -200,7 +202,7 @@ including the required headers. The \code{post()} method
automatically escapes lines beginning with \samp{.}. automatically escapes lines beginning with \samp{.}.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{ihave}{id\, file} \begin{funcdesc}{ihave}{id, file}
Send an \samp{IHAVE} command. If the response is not an error, treat Send an \samp{IHAVE} command. If the response is not an error, treat
\var{file} exactly as for the \code{post()} method. \var{file} exactly as for the \code{post()} method.
\end{funcdesc} \end{funcdesc}
@ -222,11 +224,11 @@ This is an optional NNTP extension, and may not be supported by all
servers. servers.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{xover}{start\, end} \begin{funcdesc}{xover}{start, end}
Return a pair \code{(\var{resp}, \var{list})}. \var{list} is a list Return a pair \code{(\var{resp}, \var{list})}. \var{list} is a list
of tuples, one for each article in the range delimited by the \var{start} of tuples, one for each article in the range delimited by the \var{start}
and \var{end} article numbers. Each tuple is of the form and \var{end} article numbers. Each tuple is of the form
\code{(\var{article number}, \var{subject}, \var{poster}, \var{date}, \var{id}, \var{references}, \var{size}, \var{lines})}. \code{(}\var{article number}, \var{subject}, \var{poster}, \var{date}, \var{id}, \var{references}, \var{size}, \var{lines}\code{)}.
This is an optional NNTP extension, and may not be supported by all This is an optional NNTP extension, and may not be supported by all
servers. servers.
\end{funcdesc} \end{funcdesc}

View File

@ -1,6 +1,8 @@
\section{Standard Module \sectcode{nntplib}} \section{Standard Module \sectcode{nntplib}}
\label{module-nntplib} \label{module-nntplib}
\stmodindex{nntplib} \stmodindex{nntplib}
\indexii{NNTP}{protocol}
\index{RFC!977}
\renewcommand{\indexsubitem}{(in module nntplib)} \renewcommand{\indexsubitem}{(in module nntplib)}
@ -51,7 +53,7 @@ valid headers):
% %
The module itself defines the following items: The module itself defines the following items:
\begin{funcdesc}{NNTP}{host\optional{\, port}} \begin{funcdesc}{NNTP}{host\optional{, port}}
Return a new instance of the \code{NNTP} class, representing a Return a new instance of the \code{NNTP} class, representing a
connection to the NNTP server running on host \var{host}, listening at connection to the NNTP server running on host \var{host}, listening at
port \var{port}. The default \var{port} is 119. port \var{port}. The default \var{port} is 119.
@ -99,7 +101,7 @@ higher produces the maximum amount of debugging output, logging each
line sent and received on the connection (including message text). line sent and received on the connection (including message text).
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{newgroups}{date\, time} \begin{funcdesc}{newgroups}{date, time}
Send a \samp{NEWGROUPS} command. The \var{date} argument should be a Send a \samp{NEWGROUPS} command. The \var{date} argument should be a
string of the form \code{"\var{yy}\var{mm}\var{dd}"} indicating the string of the form \code{"\var{yy}\var{mm}\var{dd}"} indicating the
date, and \var{time} should be a string of the form date, and \var{time} should be a string of the form
@ -108,7 +110,7 @@ date, and \var{time} should be a string of the form
group names that are new since the given date and time. group names that are new since the given date and time.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{newnews}{group\, date\, time} \begin{funcdesc}{newnews}{group, date, time}
Send a \samp{NEWNEWS} command. Here, \var{group} is a group name or Send a \samp{NEWNEWS} command. Here, \var{group} is a group name or
\code{"*"}, and \var{date} and \var{time} have the same meaning as for \code{"*"}, and \var{date} and \var{time} have the same meaning as for
\code{newgroups()}. Return a pair \code{(\var{response}, \code{newgroups()}. Return a pair \code{(\var{response},
@ -180,7 +182,7 @@ uninterpreted list of lines, without trailing newlines).
Send a \samp{SLAVE} command. Return the server's \var{response}. Send a \samp{SLAVE} command. Return the server's \var{response}.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{xhdr}{header\, string} \begin{funcdesc}{xhdr}{header, string}
Send an \samp{XHDR} command. This command is not defined in the RFC Send an \samp{XHDR} command. This command is not defined in the RFC
but is a common extension. The \var{header} argument is a header but is a common extension. The \var{header} argument is a header
keyword, e.g. \code{"subject"}. The \var{string} argument should have keyword, e.g. \code{"subject"}. The \var{string} argument should have
@ -200,7 +202,7 @@ including the required headers. The \code{post()} method
automatically escapes lines beginning with \samp{.}. automatically escapes lines beginning with \samp{.}.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{ihave}{id\, file} \begin{funcdesc}{ihave}{id, file}
Send an \samp{IHAVE} command. If the response is not an error, treat Send an \samp{IHAVE} command. If the response is not an error, treat
\var{file} exactly as for the \code{post()} method. \var{file} exactly as for the \code{post()} method.
\end{funcdesc} \end{funcdesc}
@ -222,11 +224,11 @@ This is an optional NNTP extension, and may not be supported by all
servers. servers.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{xover}{start\, end} \begin{funcdesc}{xover}{start, end}
Return a pair \code{(\var{resp}, \var{list})}. \var{list} is a list Return a pair \code{(\var{resp}, \var{list})}. \var{list} is a list
of tuples, one for each article in the range delimited by the \var{start} of tuples, one for each article in the range delimited by the \var{start}
and \var{end} article numbers. Each tuple is of the form and \var{end} article numbers. Each tuple is of the form
\code{(\var{article number}, \var{subject}, \var{poster}, \var{date}, \var{id}, \var{references}, \var{size}, \var{lines})}. \code{(}\var{article number}, \var{subject}, \var{poster}, \var{date}, \var{id}, \var{references}, \var{size}, \var{lines}\code{)}.
This is an optional NNTP extension, and may not be supported by all This is an optional NNTP extension, and may not be supported by all
servers. servers.
\end{funcdesc} \end{funcdesc}