Methods
|
|
__contains__
__getitem__
__iter__
get
|
|
__contains__
|
__contains__ ( value )
Return true if value is a valid enumeration name or value
|
|
__getitem__
|
__getitem__ ( nameOrValue )
Return the enumeration value for the name or value nameOrValue
Raises exceptions.EnumerationError if not found
|
|
__iter__
|
__iter__ ()
Iterator over the sorted sequence of all of this enum's instances
|
|
get
|
get ( nameOrValue, default=None )
Return the enumeration value for the name or value nameOrValue
Returns default if not found
|