2023-07-23 21:19:24 +00:00
|
|
|
"""Enum backports from standard lib.
|
2021-11-22 17:14:15 +00:00
|
|
|
|
2023-07-23 21:19:24 +00:00
|
|
|
This file contained the backport of the StrEnum of Python 3.11.
|
2021-11-22 17:14:15 +00:00
|
|
|
|
2023-07-23 21:19:24 +00:00
|
|
|
Since we have dropped support for Python 3.10, we can remove this backport.
|
|
|
|
This file is kept for now to avoid breaking custom components that might
|
|
|
|
import it.
|
|
|
|
"""
|
|
|
|
from __future__ import annotations
|
2021-11-22 17:14:15 +00:00
|
|
|
|
2023-07-23 21:19:24 +00:00
|
|
|
from enum import StrEnum
|
2021-11-22 17:14:15 +00:00
|
|
|
|
2023-07-23 21:19:24 +00:00
|
|
|
__all__ = [
|
|
|
|
"StrEnum",
|
|
|
|
]
|