def infer_call_result(self, caller, context=None):
context = contextmod.bind_context_to_node(context, self)<EOL>inferred = False<EOL>for node in self._proxied.igetattr("<STR_LIT>", context):<EOL><INDENT>if node is util.Uninferable or not node.callable():<EOL><INDENT>continue<EOL><DEDENT>for res in node.infer_call_result(caller, context):<EOL><INDENT>inferred = True<EOL>yield res<EOL><DEDENT><DEDENT>if not inferred:<EOL><INDENT>raise exceptions.InferenceError(node=self, caller=caller, context=context)<EOL><DEDENT>
infer what a class instance is returning when called