Home
/
Python 3.11
/
Enum
/
ReprEnum
Python 3.0
Python 3.11
Functions
ID
EN
…
Enum
ReprEnum
Python 3.11
ReprEnum uses the repr() of Enum, but the str() of the mixed-in data type:
Syntax
PYTHON
Copy
class enum.ReprEnum
See Also
repr()
Enum
str()
IntEnum
IntFlag
StrEnum
str()
format()