t.p.c.NamedConstant(_Constant) : class documentation

Part of twisted.python.constants View Source View In Hierarchy

NamedConstant defines an attribute to be a named constant within a collection defined by a Names subclass.

NamedConstant is only for use in the definition of Names subclasses. Do not instantiate NamedConstant elsewhere and do not subclass it.

Inherited from _Constant:

Method __init__ Undocumented
Method __get__ Ensure this constant has been initialized before returning it.
Method __repr__ Return text identifying both which constant this is and which collection it belongs to.
Method _realize Complete the initialization of this _Constant.
API Documentation for Twisted, generated by pydoctor at 2012-02-14 18:17:43.