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 1bb2bdc commit 2400f0bCopy full SHA for 2400f0b
domdf_python_tools/enums.py
@@ -23,7 +23,15 @@
23
# MA 02110-1301, USA.
24
#
25
26
+# stdlib
27
+import warnings
28
+
29
# 3rd party
30
from enum_tools import IntEnum, StrEnum
31
32
__all__ = ["IntEnum", "StrEnum"]
33
34
+warnings.warn(
35
+ "Importing enums from domdf_python_tools.enums is deprecated since 0.4.10 "
36
+ "and the module will be removed in 0.5.0. Import from the enum_tools library instead."
37
+ )
0 commit comments