summaryrefslogtreecommitdiffstats
path: root/Lib/cgi.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2022-04-09 00:15:35 (GMT)
committerGitHub <noreply@github.com>2022-04-09 00:15:35 (GMT)
commitcd29bd13ef1fe18970c5d43b66c545dd03117cb9 (patch)
treecc111c2bf79956a6a8680f53500662cb2511081b /Lib/cgi.py
parent1c8b3b5d66a629258f1db16939b996264a8b9c37 (diff)
downloadcpython-cd29bd13ef1fe18970c5d43b66c545dd03117cb9.zip
cpython-cd29bd13ef1fe18970c5d43b66c545dd03117cb9.tar.gz
cpython-cd29bd13ef1fe18970c5d43b66c545dd03117cb9.tar.bz2
bpo-47061: deprecate cgi and cgitb (GH-32410)
Part of PEP 594.
Diffstat (limited to 'Lib/cgi.py')
-rwxr-xr-xLib/cgi.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/cgi.py b/Lib/cgi.py
index 22897a1..8787567 100755
--- a/Lib/cgi.py
+++ b/Lib/cgi.py
@@ -53,6 +53,9 @@ __all__ = ["MiniFieldStorage", "FieldStorage", "parse", "parse_multipart",
"print_form", "print_directory", "print_arguments",
"print_environ_usage"]
+
+warnings._deprecated(__name__, remove=(3,13))
+
# Logging support
# ===============