def METHOD_NAME(code, mode="exec", **exception_kwargs):
    """Parse an expression into AST"""
    try:
        return _ast_util.METHOD_NAME(code, "<unknown>", mode)
    except Exception as e:
        raise exceptions.SyntaxException(
            "(%s) %s (%r)"
            % (
                compat.exception_as().__class__.__name__,
                compat.exception_as(),
                code[0:50],
            ),
            **exception_kwargs,
        ) from e