summaryrefslogtreecommitdiff
path: root/Doc/library/nntplib.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/nntplib.rst')
-rw-r--r--Doc/library/nntplib.rst9
1 files changed, 1 insertions, 8 deletions
diff --git a/Doc/library/nntplib.rst b/Doc/library/nntplib.rst
index faa5115fb4..ef5a6e9522 100644
--- a/Doc/library/nntplib.rst
+++ b/Doc/library/nntplib.rst
@@ -51,7 +51,7 @@ headers)::
The module itself defines the following items:
-.. class:: NNTP(host[, port [, user[, password [, readermode] [, usenetrc]]]])
+.. class:: NNTP(host[, port [, user[, password [, readermode][, usenetrc]]]])
Return a new instance of the :class:`NNTP` class, representing a connection
to the NNTP server running on host *host*, listening at port *port*. The
@@ -66,9 +66,6 @@ The module itself defines the following items:
:exc:`NNTPPermanentError`\ s, you might need to set *readermode*.
*readermode* defaults to ``None``. *usenetrc* defaults to ``True``.
- .. versionchanged:: 2.4
- *usenetrc* argument added.
-
.. exception:: NNTPError
@@ -185,8 +182,6 @@ indicates an error, the method raises one of the above exceptions.
strings). Return a pair ``(response, list)``, where *list* is a list of tuples
containing ``(name, title)``.
- .. versionadded:: 2.4
-
.. method:: NNTP.description(group)
@@ -197,8 +192,6 @@ indicates an error, the method raises one of the above exceptions.
This elides the response code from the server. If the response code is needed,
use :meth:`descriptions`.
- .. versionadded:: 2.4
-
.. method:: NNTP.group(name)