We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0e1c51 commit 22b8a35Copy full SHA for 22b8a35
Doc/whatsnew/3.13.rst
@@ -1307,6 +1307,9 @@ PEP 594: dead batteries (and other module removals)
1307
1308
* :mod:`!imghdr`: use the projects :pypi:`filetype`,
1309
:pypi:`puremagic`, or :pypi:`python-magic` instead.
1310
+ The ``puremagic.what()`` function can be used to replace
1311
+ the ``imghdr.what()`` function for all file formats that
1312
+ were supported by ``imghdr``.
1313
(Contributed by Victor Stinner in :gh:`104773`.)
1314
1315
* :mod:`!mailcap`.
0 commit comments