aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2022-03-21 16:16:37 -0700
committerGitHub <noreply@github.com>2022-03-21 16:16:37 -0700
commitb72482042a4a7835da5347d8f8e4b453e4202b42 (patch)
tree660f035b66f9ab27d5d4fd351f11d2784f3f3401
parent96c959e70624261e5d0036fd6c9a93bb29f512c5 (diff)
downloadnntplib-upstream.tar.gz
bpo-47061: document module deprecations due to PEP 594 (GH-31984)v3.11.0a7upstream
Also removed asynchat, asyncore, and smtpd from their respective toctree entries so they are only in the superceded subtree.
-rw-r--r--nntplib.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/nntplib.rst b/nntplib.rst
index e7ec904..2a996e4 100644
--- a/nntplib.rst
+++ b/nntplib.rst
@@ -3,6 +3,7 @@
.. module:: nntplib
:synopsis: NNTP protocol client (requires sockets).
+ :deprecated:
**Source code:** :source:`Lib/nntplib.py`
@@ -10,6 +11,9 @@
pair: NNTP; protocol
single: Network News Transfer Protocol
+.. deprecated:: 3.11
+ The :mod:`nntplib` module is deprecated (see :pep:`594` for details).
+
--------------
This module defines the class :class:`NNTP` which implements the client side of