ID EN
Enum

ReprEnum

Python 3.11

ReprEnum uses the repr() of Enum, but the str() of the mixed-in data type:

Syntax

PYTHON
class enum.ReprEnum

See Also

repr() Enum str() IntEnum IntFlag StrEnum str() format()