def _invoke_binop_inference(instance, opnode, op, other, context, method_name):
methods = dunder_lookup.lookup(instance, method_name)<EOL>context = contextmod.bind_context_to_node(context, instance)<EOL>method = methods[<NUM_LIT:0>]<EOL>inferred = next(method.infer(context=context))<EOL>if inferred is util.Uninferable:<EOL><INDENT>raise exceptions.InferenceError<EOL><DEDENT>return instance.infer_binary_op(opnode, op, other, context, inferred)<EOL>
Invoke binary operation inference on the given instance.