'Handle an `info` result, triggering a calltip and/or docstring.
Only handle the response if we are on the same line of text as
when the request was initiated.'

def _handle_info_result(self, resp, info, prev_info):

    if (info.line_num != prev_info.line_num):
        return
    if resp['calltip']:
        info.editor.show_calltip('Arguments', resp['calltip'], signature=True, at_position=prev_info.position)
    if resp['name']:
        self.send_to_help.emit(resp['name'], resp['argspec'], resp['note'], resp['docstring'], (not prev_info.auto))
