def optimizer(f):
 rval = FromFunctionOptimizer(f)
 rval.__name__ = f.__name__
 return rval

def optimizer ( f ) : rval = FromFunctionOptimizer ( f ) rval . __name__ = f . __name__ return rval
decorator for fromfunctionoptimizer .