5 lines
269 B
Text
5 lines
269 B
Text
Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7, 2.6, 2.5, and 2.4.
|
|
|
|
An enumeration is a set of symbolic names (members) bound to unique,
|
|
constant values. Within an enumeration, the members can be compared by
|
|
identity, and the enumeration itself can be iterated over.
|