Merge pull request #290 from PR0M3TH3AN/beta

Beta
This commit is contained in:
thePR0M3TH3AN
2025-07-05 15:25:16 -04:00
committed by GitHub

View File

@@ -11,7 +11,11 @@ import warnings
__all__ = ["what"]
warnings._deprecated(__name__, remove=(3, 13))
warnings.warn(
"'imghdr' is deprecated and will be removed in Python 3.13",
DeprecationWarning,
stacklevel=2,
)
# -------------------------
# Recognize image headers