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
def __init__(self, options, coerce):
(source)
Parameters
options
parent Options object
coerce
callable 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 2010-07-05 15:03:32.