This commit is contained in:
KnugiHK
2024-10-24 19:39:19 +08:00
parent bde3c18498
commit afa6052a08

View File

@@ -13,6 +13,7 @@ try:
from enum import StrEnum, IntEnum
except ImportError:
# < Python 3.11
# This should be removed when the support for Python 3.10 ends.
from enum import Enum
class StrEnum(str, Enum):
pass