bpo-47061: document module deprecations due to PEP 594 (GH-31984)

Also removed asynchat, asyncore, and smtpd from their respective toctree entries so they are only  in the superceded subtree.
This commit is contained in:
Brett Cannon 2022-03-21 16:16:37 -07:00 committed by GitHub
parent d5d625199e
commit 9ac2de922a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 97 additions and 22 deletions

View file

@ -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