t.p.u.CoerceParameter(object) : class documentation

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

Utility class that can corce a parameter before storing it.
Method __init__
Method dispatch When called in dispatch, do the coerce for value and save the returned value.
def __init__(self, options, coerce): (source)
Parametersoptionsparent Options object
coercecallable used to coerce the value.
def dispatch(self, parameterName, value): (source)
When called in dispatch, do the coerce for value and save the returned value.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:27:37.