t.p.constants : module documentation

Part of twisted.python View Source

Symbolic constant support, including collections and constants with text, numeric, and bit flag values.
Class NamedConstant NamedConstant defines an attribute to be a named constant within a collection defined by a Names subclass.
Class Names A Names subclass contains constants which differ only in their names and identities.
Class ValueConstant ValueConstant defines an attribute to be a named constant within a collection defined by a Values subclass.
Class Values A Values subclass contains constants which are associated with arbitrary values.
Class _Constant
Class _EnumerantsInitializer _EnumerantsInitializer is a descriptor used to initialize a cache of objects representing named constants for a particular _ConstantsContainer subclass.
Class _ConstantsContainer _ConstantsContainer is a class with attributes used as symbolic constants. It is up to subclasses to specify what kind of constants are allowed.
API Documentation for Twisted, generated by pydoctor at 2012-02-14 18:17:43.