Go to the latest version of this document.
t.p.c.Flags(Values) : class documentation
Part of twisted.python.constants
View In Hierarchy
subclass contains constants which can be combined using the common bitwise
, etc) similar to a
from a language like C.
Inherited from Values:
||Retrieve a constant by its value or raise a
there is no constant associated with that value.
Inherited from _ConstantsContainer (via Values):
||Classes representing constants containers are not intended to be
||Retrieve a constant by its name or raise a
there is no constant associated with that name.
||Iteration over a
results in all of the constants it contains.
||Specified by a
subclass to specify the type of constants allowed by that subclass.
bool tracking whether
_enumerants has been
initialized yet or not.
dict mapping the names of constants (eg
instances) found in the class definition to those instances. This is
initialized via the
descriptor the first time it is accessed.
||Find all of the
instances in the definition of
cls, initialize them with
constant values, and build a mapping from their names to them to attach to
API Documentation for Twisted, generated by pydoctor at 2012-12-26 12:18:15.
instances with no explicitly defined value, assign the next power of two as