twisted.python.usage.CoerceParameter(object)
class documentationtwisted.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. |
Parameters | options | parent Options object |
coerce | callable used to coerce the value. |
When called in dispatch, do the coerce for value
and save
the returned value.