def implements(numpy_function):

    def decorator(function):
        implemented[getattr(numpy, numpy_function)] = function
        return function
    return decorator
def implements(numpy_function):

    def decorator(function):
        implemented[getattr(numpy, numpy_function)] = function
        return function
    return decorator