twisted.python.constants._ConstantsContainerType(type) class documentationtwisted.python.constants
          View Source
          (View In Hierarchy)
        
      _ConstantsContainerType
is a metaclass for creating constants container classes.
| Method | __new__ | Create a new constants container class. | 
Create a new constants container class.
If attributes includes a value of None for the
"_constantType" key, the new class will not be 
initialized as a constants container and it will behave as a normal 
class.
| Parameters | name | The name of the container class. (type: str) | 
| bases | A tuple of the base classes for the new container class. (type: tuple
of _ConstantsContainerType
instances) | |
| attributes | The attributes of the new container class, including any constants it is to
contain. (type: dict) |