summaryrefslogtreecommitdiffstats
path: root/Doc/library/cgi.rst
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2022-03-21 23:16:37 (GMT)
committerGitHub <noreply@github.com>2022-03-21 23:16:37 (GMT)
commit9ac2de922a0f783bd43b8e026e4fb70fd1888572 (patch)
tree092a8ef5227c3ea3acb6cfac8dcc22a7a8aace3a /Doc/library/cgi.rst
parentd5d625199e41580bb9372c16add4f13b9af2c223 (diff)
downloadcpython-9ac2de922a0f783bd43b8e026e4fb70fd1888572.zip
cpython-9ac2de922a0f783bd43b8e026e4fb70fd1888572.tar.gz
cpython-9ac2de922a0f783bd43b8e026e4fb70fd1888572.tar.bz2
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.
Diffstat (limited to 'Doc/library/cgi.rst')
-rw-r--r--Doc/library/cgi.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/cgi.rst b/Doc/library/cgi.rst
index a2957ba..7e69740 100644
--- a/Doc/library/cgi.rst
+++ b/Doc/library/cgi.rst
@@ -3,6 +3,7 @@
.. module:: cgi
:synopsis: Helpers for running Python scripts via the Common Gateway Interface.
+ :deprecated:
**Source code:** :source:`Lib/cgi.py`
@@ -14,6 +15,9 @@
single: URL
single: Common Gateway Interface
+.. deprecated:: 3.11
+ The :mod:`cgi` module is deprecated (see :pep:`594` for details).
+
--------------
Support module for Common Gateway Interface (CGI) scripts.