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:: cgitb
:synopsis: Configurable traceback handler for CGI scripts.
:deprecated:
.. moduleauthor:: Ka-Ping Yee <ping@lfw.org>
.. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
@ -15,6 +16,9 @@
single: exceptions; in CGI scripts
single: tracebacks; in CGI scripts
.. deprecated:: 3.11
The :mod:`cgitb` module is deprecated (see :pep:`594` for details).
--------------
The :mod:`cgitb` module provides a special exception handler for Python scripts.