diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2002-12-31 15:28:44 (GMT) |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2002-12-31 15:28:44 (GMT) |
commit | 2852cbaf26a58f1d92049da81e35f91e68cea224 (patch) | |
tree | 2d5b03f0d781dafce150688d6b7a2bc68285ea8b /Doc/lib/libnntplib.tex | |
parent | f91b4619e02104fa5eeb03b870cce399c7e4a64a (diff) | |
download | cpython-2852cbaf26a58f1d92049da81e35f91e68cea224.zip cpython-2852cbaf26a58f1d92049da81e35f91e68cea224.tar.gz cpython-2852cbaf26a58f1d92049da81e35f91e68cea224.tar.bz2 |
Document the new ,netrc awareness in nntplib.
Diffstat (limited to 'Doc/lib/libnntplib.tex')
-rw-r--r-- | Doc/lib/libnntplib.tex | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/lib/libnntplib.tex b/Doc/lib/libnntplib.tex index e0f9989..5565289 100644 --- a/Doc/lib/libnntplib.tex +++ b/Doc/lib/libnntplib.tex @@ -58,8 +58,9 @@ The module itself defines the following items: Return a new instance of the \class{NNTP} class, representing a connection to the NNTP server running on host \var{host}, listening at 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 +\var{user} and \var{password} are provided, +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 flag \var{readermode} is true, then a \samp{mode reader} command is sent before authentication is performed. Reader mode is sometimes |