Пример #1
0
 class Color3(Enum):
     RED = auto()
     BLUE = auto()
     GREEN = auto()
Пример #2
0
 class ColorMissingNone(MissingNoneMixinEnum):
     RED = auto()
     BLUE = auto()
     GREEN = auto()
Пример #3
0
 class ColorLookUpAuto(LookUpMixinEnum, AutoNameMixinEnum):
     RED = auto()
     BLUE = auto()
     GREEN = auto()
Пример #4
0
 class ColorAutoNameWrong2(AutoNameMixinEnum, Enum):
     RED = auto()
     BLUE = auto()
     GREEN = auto()
Пример #5
0
 class ColorAutoNameWrong(AutoNameMixinEnum, StrAsReprMixinEnum):
     RED = auto()
     BLUE = auto()
     GREEN = auto()
Пример #6
0
 class ColorAutoName2(StrAsReprMixinEnum, AutoNameMixinEnum):
     RED = auto()
     BLUE = auto()
     GREEN = auto()
Пример #7
0
 class ColorAutoName(AutoNameMixinEnum):
     RED = auto()
     BLUE = auto()
     GREEN = auto()
Пример #8
0
 class ColorStr2(StrAsReprMixinEnum, Enum):
     RED = auto()
     BLUE = auto()
     GREEN = auto()