def _parse_result(self, render_result: str) -> Any:
    'Parse the result.'
    try:
        result = literal_eval(render_result)
        if (type(result) in RESULT_WRAPPERS):
            result = RESULT_WRAPPERS[type(result)](result, render_result=render_result)
        if ((not isinstance(result, (str, complex))) and ((not isinstance(result, (int, float))) or isinstance(result, bool) or (_IS_NUMERIC.match(render_result) is not None))):
            return result
    except (ValueError, TypeError, SyntaxError, MemoryError):
        pass
    return render_result
Parse the result.
def _parse_result(self, render_result: str) -> Any:
    
    try:
        result = literal_eval(render_result)
        if (type(result) in RESULT_WRAPPERS):
            result = RESULT_WRAPPERS[type(result)](result, render_result=render_result)
        if ((not isinstance(result, (str, complex))) and ((not isinstance(result, (int, float))) or isinstance(result, bool) or (_IS_NUMERIC.match(render_result) is not None))):
            return result
    except (ValueError, TypeError, SyntaxError, MemoryError):
        pass
    return render_result