parameters: (statements)
return_statement: return Function(f)
docstring: Import a function by exec.
  
    Args:
        statements: Python statements
  
    Returns:
        Function-wrapped value of `f`.
  
    Raises:
        ValueError: the statements didn't define a value for "f"
docstring_summary: Import a function by exec.
docstring_tokens: Import a function by exec .
function: def Import(statements):
    """Import a function by exec.
  
    Args:
        statements: Python statements
  
    Returns:
        Function-wrapped value of `f`.
  
    Raises:
        ValueError: the statements didn't define a value for "f"
    """
    environ = {}
    exec_(statements, environ)
    if "f" not in environ:
      raise ValueError("failed to define \"f\": %s", statements)
    f = environ["f"]
    return Function(f)
function_tokens: def Import ( statements ) : environ = { } exec_ ( statements , environ ) if "f" not in environ : raise ValueError ( "failed to define \"f\": %s" , statements ) f = environ [ "f" ] return Function ( f )