@@ -52,24 +52,26 @@ headers, and that you have right to post on the particular newsgroup)::
5252The module itself defines the following classes:
5353
5454
55- .. class :: NNTP(host, port=119, user=None, password=None, readermode=None, usenetrc=True , [timeout])
55+ .. class :: NNTP(host, port=119, user=None, password=None, readermode=None, usenetrc=False , [timeout])
5656
5757 Return a new :class: `NNTP ` object, representing a connection
5858 to the NNTP server running on host *host *, listening at port *port *.
5959 An optional *timeout * can be specified for the socket connection.
6060 If the optional *user * and *password * are provided, or if suitable
6161 credentials are present in :file: `/.netrc ` and the optional flag *usenetrc *
62- is true (the default) , the ``AUTHINFO USER `` and ``AUTHINFO PASS `` commands
63- are used to identify and authenticate the user to the server. If the optional
62+ is true, the ``AUTHINFO USER `` and ``AUTHINFO PASS `` commands are used
63+ to identify and authenticate the user to the server. If the optional
6464 flag *readermode * is true, then a ``mode reader `` command is sent before
6565 authentication is performed. Reader mode is sometimes necessary if you are
6666 connecting to an NNTP server on the local machine and intend to call
6767 reader-specific commands, such as ``group ``. If you get unexpected
6868 :exc: `NNTPPermanentError `\ s, you might need to set *readermode *.
69- *readermode * defaults to ``None ``. *usenetrc * defaults to ``True ``.
69+
70+ .. versionchanged :: 3.2
71+ *usenetrc * is now False by default.
7072
7173
72- .. class :: NNTP_SSL(host, port=563, user=None, password=None, ssl_context=None, readermode=None, usenetrc=True , [timeout])
74+ .. class :: NNTP_SSL(host, port=563, user=None, password=None, ssl_context=None, readermode=None, usenetrc=False , [timeout])
7375
7476 Return a new :class: `NNTP_SSL ` object, representing an encrypted
7577 connection to the NNTP server running on host *host *, listening at
0 commit comments