Source code for picogl.utils.strenum

from enum import Enum


[docs] class StrEnum(str, Enum): """ Python 3.10 compatible StrEnum. Behaves like Python 3.11 enum.StrEnum. """
[docs] def __str__(self) -> str: return str(self.value)