aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/imghdr.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/imghdr.py')
-rw-r--r--Lib/imghdr.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/imghdr.py b/Lib/imghdr.py
index afcb67772ee..6a372e66c7f 100644
--- a/Lib/imghdr.py
+++ b/Lib/imghdr.py
@@ -1,9 +1,14 @@
"""Recognize image file formats based on their first few bytes."""
from os import PathLike
+import warnings
__all__ = ["what"]
+
+warnings._deprecated(__name__, remove=(3, 13))
+
+
#-------------------------#
# Recognize image headers #
#-------------------------#