| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
Enum
A collection of efficient static methods for working with enum classes.
| Instance Methods | |
|
Inherited from |
| Static Methods | |||
|
|||
| bool |
|
||
| frozenset |
|
||
| frozenset |
|
||
| EnumItem |
|
||
| EnumItem |
|
||
| str |
|
||
| frozenset |
|
||
| Properties | |
|
Inherited from |
| Method Details |
Dynamically create a new enum from a list of key:value pairs. Note that each key must be a valid python identifier, and the values must be unique.
Note: The recommended way to create an enum is to define a public subclass of enum in the global namespace of your module. You should avoid creating enums dynamically if static construction is possible, because dynamically created enums cannot be pickled. |
Return True if item is a member of enumclass.
|
Return all member items of the
|
Return the names of all items in the
|
Parse
|
Parse
|
Return a string representation of the enum item.
|
Return all values of the
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Jul 4 20:19:06 2017 | http://epydoc.sourceforge.net |