PyDocs

Nav

Data Types

EnumCheck

enum

class · Added in 3.11 (source)
  • EnumCheck(*values)
various conditions to check an enumeration for
Members of EnumCheck

c

CONTINUOUS
Ensure that there are no missing values between the lowest-valued member and the highest-valued member:

n

NAMED_FLAGS
Ensure that any flag groups/masks contain only named flags – useful when values are specified instead of being generated by auto():

u

UNIQUE
Ensure that each value has only one name:
0 Examples
No examples for enum/EnumCheck.
See Also
No see-alsos for enum/EnumCheck
0 Notes
No notes for EnumCheck