milestonexprotectrestpython.xprenumcomparable

Module: xprenumcomparable.py

Revision History

Date Version Description
2023/07/11 1.0.0.0 Initial Version.

class XPREnumComparable(enum.Enum):

Class used to compare Enum objects without having to specify ".value" on the end of the enum name.

XPREnumComparable(other)

Initializes a new instalce of the class.

Arguments:
  • other (object): Object to compare with this object.