Part of twisted.python.constants View Source View In Hierarchy
Names 
subclass contains constants which differ only in their names and 
identities.Inherited from _ConstantsContainer:
| Method | __new__ | Classes representing constants containers are not intended to be instantiated. | 
| Class Method | lookupByName | Retrieve a constant by its name or raise a ValueErrorif 
there is no constant associated with that name. | 
| Class Method | iterconstants | Iteration over a Namessubclass 
results in all of the constants it contains. | 
| Class Method | _initializeEnumerants | Find all of the NamedConstantinstances in the definition ofcls, initialize them with 
constant values, and build a mapping from their names to them to attach tocls. | 
| Class Method | _constantFactory | Construct the value for a new constant to add to this container. |