atom.enum module
- class atom.enum.Enum(*items)[source]
Bases:
Member
A member where the value can be one in a sequence of items.
- added(*items)[source]
Create a clone of the Enum with added items.
- Parameters:
*items – Additional items to include in the Enum.
- Returns:
result – A new enum object which contains all of the original items plus the new items.
- Return type:
- property items
A readonly property which returns the items in the enum.