Part of twisted.python.constants View Source View In Hierarchy
Valuessubclass contains constants which are associated with arbitrary values.
|Class Method||lookupByValue||Retrieve a constant by its value or raise a
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
|Class Method||iterconstants||Iteration over a
|Class Variable||_constantType||Specified by a
|Class Method||_constantFactory||Construct the value for a new constant to add to this container.|
ValueErrorif there is no constant associated with that value.
|Parameters||value||The value of one of the constants defined by |