https://github.com/python/cpython/commit/22b8a35d6e6660cf7457ed6636cb8c12fff7e8e7
commit: 22b8a35d6e6660cf7457ed6636cb8c12fff7e8e7
branch: main
author: Christian Clauss <[email protected]>
committer: vstinner <[email protected]>
date: 2024-06-24T15:32:13+02:00
summary:

docs: puremagic.what() as replacement for imghdr.what() (#120871)

files:
M Doc/whatsnew/3.13.rst

diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst
index 02c2a5ce02b730..5c195049980a4b 100644
--- a/Doc/whatsnew/3.13.rst
+++ b/Doc/whatsnew/3.13.rst
@@ -1307,6 +1307,9 @@ PEP 594: dead batteries (and other module removals)
 
   * :mod:`!imghdr`: use the projects :pypi:`filetype`,
     :pypi:`puremagic`, or :pypi:`python-magic` instead.
+    The ``puremagic.what()`` function can be used to replace
+    the ``imghdr.what()`` function for all file formats that
+    were supported by ``imghdr``.
     (Contributed by Victor Stinner in :gh:`104773`.)
 
   * :mod:`!mailcap`.

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to