milestonexprotectwspython.xpwenumcomparable

Module: xpwenumcomparable.py

Revision History

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

class XPWEnumComparable(enum.Enum):

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

XPWEnumComparable(other)

Initializes a new instalce of the class.

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