Commit 4d434813 authored by Fred Drake's avatar Fred Drake

Document the user and password parameters to the NNTP constructor.

parent f060fa98
...@@ -53,10 +53,14 @@ valid headers): ...@@ -53,10 +53,14 @@ valid headers):
% %
The module itself defines the following items: The module itself defines the following items:
\begin{classdesc}{NNTP}{host\optional{, port}} \begin{classdesc}{NNTP}{host\optional{, port
\optional{, user\optional{, password}}}}
Return a new instance of the \class{NNTP} class, representing a Return a new instance of the \class{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. If the optional
\var{user} and \var{password} are provided, the \samp{AUTHINFO USER}
and \samp{AUTHINFO PASS} commands are used to identify and
authenticate the user to the server.
\end{classdesc} \end{classdesc}
\begin{excdesc}{error_reply} \begin{excdesc}{error_reply}
......
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