def numpy_function_infer_call_result(node):
<EOL>origin_infer_call_result = node.infer_call_result<EOL>def infer_call_result_wrapper(caller=None, context=None):<EOL><INDENT>"""<STR_LIT>"""<EOL>unfiltered_infer_call_result = origin_infer_call_result(caller, context)<EOL>return (<EOL>x<EOL>for x in unfiltered_infer_call_result<EOL>if not isinstance(x, (astroid.List, astroid.Tuple))<EOL>)<EOL><DEDENT>return infer_call_result_wrapper<EOL>
A wrapper around infer_call_result method bounded to the node.

:param node: the node which infer_call_result should be filtered
:type node: FunctionDef
:return: a function that filter the results of the call to node.infer_call_result
:rtype: function