Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2852cba

Browse files
Document the new ,netrc awareness in nntplib.
1 parent f91b461 commit 2852cba

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Doc/lib/libnntplib.tex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,9 @@ \section{\module{nntplib} ---
5858
Return a new instance of the \class{NNTP} class, representing a
5959
connection to the NNTP server running on host \var{host}, listening at
6060
port \var{port}. The default \var{port} is 119. If the optional
61-
\var{user} and \var{password} are provided, the
62-
\samp{AUTHINFO USER} and \samp{AUTHINFO PASS} commands are used to
61+
\var{user} and \var{password} are provided,
62+
or if suitable credentials are present in \file{~/.netrc},
63+
the \samp{AUTHINFO USER} and \samp{AUTHINFO PASS} commands are used to
6364
identify and authenticate the user to the server. If the optional
6465
flag \var{readermode} is true, then a \samp{mode reader} command is
6566
sent before authentication is performed. Reader mode is sometimes

0 commit comments

Comments
 (0)