mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-09 07:48:57 +00:00
Fix imghdr stub for Python 3.13
This commit is contained in:
@@ -11,7 +11,11 @@ import warnings
|
|||||||
|
|
||||||
__all__ = ["what"]
|
__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
|
# Recognize image headers
|
||||||
|
Reference in New Issue
Block a user