Repository URL to install this package:
|
Version:
0.29.7 ▾
|
class MathFunction(object):
def __init__(self, name, operator):
self.name = name
self.operator = operator
def __call__(self, *operands):
return self.operator(*operands)