Kaydet (Commit) 2852cbaf authored tarafından Eric S. Raymond's avatar Eric S. Raymond

Document the new ,netrc awareness in nntplib.

üst f91b4619
...@@ -58,8 +58,9 @@ The module itself defines the following items: ...@@ -58,8 +58,9 @@ The module itself defines the following items:
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. If the optional port \var{port}. The default \var{port} is 119. If the optional
\var{user} and \var{password} are provided, the \var{user} and \var{password} are provided,
\samp{AUTHINFO USER} and \samp{AUTHINFO PASS} commands are used to or if suitable credentials are present in \file{~/.netrc},
the \samp{AUTHINFO USER} and \samp{AUTHINFO PASS} commands are used to
identify and authenticate the user to the server. If the optional identify and authenticate the user to the server. If the optional
flag \var{readermode} is true, then a \samp{mode reader} command is flag \var{readermode} is true, then a \samp{mode reader} command is
sent before authentication is performed. Reader mode is sometimes sent before authentication is performed. Reader mode is sometimes
......
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