class documentation

class twisted.python.usage.CoerceParameter: (source)

View In Hierarchy

Utility class that can corce a parameter before storing it.

Method __init__
Instance Variable options Undocumented
Instance Variable coerce Undocumented
Instance Variable doc Undocumented
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.
options = (source)

Undocumented

coerce = (source)

Undocumented

Undocumented

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 20.12.1 at 2021-02-28 19:53:36.