mirror of
https://github.com/python/cpython.git
synced 2024-11-24 17:47:13 +01:00
036930d844
Will also need to change the redirects that were created here: https://github.com/python/psf-salt/pull/521/files
20 lines
726 B
ReStructuredText
20 lines
726 B
ReStructuredText
:mod:`!imghdr` --- Determine the type of an image
|
|
=================================================
|
|
|
|
.. module:: imghdr
|
|
:synopsis: Removed in 3.13.
|
|
:deprecated:
|
|
|
|
.. deprecated-removed:: 3.11 3.13
|
|
|
|
This module is no longer part of the Python standard library.
|
|
It was :ref:`removed in Python 3.13 <whatsnew313-pep594>` after
|
|
being deprecated in Python 3.11. The removal was decided in :pep:`594`.
|
|
|
|
Possible replacements are third-party libraries from PyPI:
|
|
:pypi:`filetype`, :pypi:`puremagic`, or :pypi:`python-magic`.
|
|
These are not supported or maintained by the Python core team.
|
|
|
|
The last version of Python that provided the :mod:`!imghdr` module was
|
|
`Python 3.12 <https://docs.python.org/3.12/library/imghdr.html>`_.
|