code: def help_end(line):
      """Translate lines with ?/?? at the end"""
      m = _help_end_re.search(line)
      if m is None or ends_in_comment_or_string(line):
          return line
      target = m.group(1)
      esc = m.group(3)
      lspace = _initial_space_re.match(line).group(0)
  
      # If we're mid-command, put it back on the next prompt for the user.
      next_input = (
          line.rstrip("?") if line.strip() != m.group(0) else None
      )
  
      return _make_help_call(target, esc, lspace, next_input)
  
imports: import abc
  import functools
  import re
  from IPython.core.splitinput import LineInfo
  from IPython.utils import tokenize2
  from IPython.utils.openpy import cookie_comment_re
  from IPython.utils.py3compat import with_metaclass, PY3
  from IPython.utils.tokenize2 import generate_tokens, untokenize, TokenError
label_desc: Use image node_id 14 for calling a global function with example usage: help_end(line) and returns: _make_help_call, line