def __init__(self, calculator):
if not callable(calculator):<EOL><INDENT>raise ValueError("<STR_LIT>" % calculator)<EOL><DEDENT>self.calc = calculator<EOL>
@param calculator: The calculator callable that will yield the desired value.
@type calculator: C{callable}