gh-68966: Document mailcap deprecation in Python 3.11 (GH-91971)

(cherry picked from commit 80de0273c0)
(cherry picked from commit a36d97e3f1)

Co-authored-by: Victor Stinner <vstinner@python.org>
This commit is contained in:
Miss Islington (bot) 2022-04-27 02:59:32 -07:00 committed by GitHub
parent 081e95165e
commit 24ce12366f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 2 deletions

View file

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

View file

@ -13,7 +13,6 @@ on the Internet.
email.rst
json.rst
mailcap.rst
mailbox.rst
mimetypes.rst
base64.rst

View file

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