summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2002-12-31 15:28:44 (GMT)
committerEric S. Raymond <esr@thyrsus.com>2002-12-31 15:28:44 (GMT)
commit2852cbaf26a58f1d92049da81e35f91e68cea224 (patch)
tree2d5b03f0d781dafce150688d6b7a2bc68285ea8b /Doc/lib
parentf91b4619e02104fa5eeb03b870cce399c7e4a64a (diff)
downloadcpython-2852cbaf26a58f1d92049da81e35f91e68cea224.zip
cpython-2852cbaf26a58f1d92049da81e35f91e68cea224.tar.gz
cpython-2852cbaf26a58f1d92049da81e35f91e68cea224.tar.bz2
Document the new ,netrc awareness in nntplib.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libnntplib.tex5
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