code: def _make_help_call(target, esc, lspace, next_input=None):
      """Prepares a pinfo(2)/psearch call from a target name and the escape
      (i.e. ? or ??)"""
      method = (
          "pinfo2"
          if esc == "??"
          else "psearch"
          if "*" in target
          else "pinfo"
      )
      arg = " ".join([method, target])
      if next_input is None:
          return "%sget_ipython().magic(%r)" % (lspace, arg)
      else:
          return (
              "%sget_ipython().set_next_input(%r);get_ipython().magic(%r)"
              % (lspace, next_input, arg)
          )
  
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 2 for calling a global function with example usage: _make_help_call(target, esc, lspace, next_input) and returns: unknown, unknown