summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-04-27 09:59:32 (GMT)
committerGitHub <noreply@github.com>2022-04-27 09:59:32 (GMT)
commit24ce12366f95d8fa8a3dc609daa59579819481bd (patch)
tree3ce3c331aeb3166a36c63f5524757ff89bc0eb4e /Doc
parent081e95165e2482c80ec05ff3aa4ddad103e64b61 (diff)
downloadcpython-24ce12366f95d8fa8a3dc609daa59579819481bd.zip
cpython-24ce12366f95d8fa8a3dc609daa59579819481bd.tar.gz
cpython-24ce12366f95d8fa8a3dc609daa59579819481bd.tar.bz2
gh-68966: Document mailcap deprecation in Python 3.11 (GH-91971)
(cherry picked from commit 80de0273c0caf8bae19787bb00255eb3fb2a2d0c) (cherry picked from commit a36d97e3f1daeb431e1c5bc8ab83daca93b747b0) Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/mailcap.rst5
-rw-r--r--Doc/library/netdata.rst1
-rw-r--r--Doc/library/superseded.rst3
3 files changed, 7 insertions, 2 deletions
diff --git a/Doc/library/mailcap.rst b/Doc/library/mailcap.rst
index bf9639b..cd5ab0b 100644
--- a/Doc/library/mailcap.rst
+++ b/Doc/library/mailcap.rst
@@ -3,9 +3,14 @@
.. module:: mailcap
:synopsis: Mailcap file handling.
+ :deprecated:
**Source code:** :source:`Lib/mailcap.py`
+.. deprecated:: 3.11
+ The :mod:`mailcap` module is deprecated. See :pep:`594` for the rationale
+ and the :mod:`mimetypes` module for an alternative.
+
--------------
Mailcap files are used to configure how MIME-aware applications such as mail
diff --git a/Doc/library/netdata.rst b/Doc/library/netdata.rst
index 8a3ad68..2520036 100644
--- a/Doc/library/netdata.rst
+++ b/Doc/library/netdata.rst
@@ -13,7 +13,6 @@ on the Internet.
email.rst
json.rst
- mailcap.rst
mailbox.rst
mimetypes.rst
base64.rst
diff --git a/Doc/library/superseded.rst b/Doc/library/superseded.rst
index e3f9b0d..b38f166 100644
--- a/Doc/library/superseded.rst
+++ b/Doc/library/superseded.rst
@@ -20,9 +20,10 @@ backwards compatibility. They have been superseded by other modules.
crypt.rst
imghdr.rst
imp.rst
+ mailcap.rst
msilib.rst
- nntplib.rst
nis.rst
+ nntplib.rst
optparse.rst
ossaudiodev.rst
pipes.rst