code: def _star_star_dict(context, array, input_node, funcdef):
      from jedi.evaluate.context.instance import CompiledInstance
  
      if (
          isinstance(array, CompiledInstance)
          and array.name.string_name == "dict"
      ):
          # For now ignore this case. In the future add proper iterators and just
          # make one call without crazy isinstance checks.
          return {}
      elif (
          isinstance(array, iterable.Sequence)
          and array.array_type == "dict"
      ):
          return array.exact_key_items()
      else:
          if funcdef is not None:
              m = (
                  "TypeError: %s argument after ** must be a mapping, not %s"
                  % (funcdef.name.value, array)
              )
              analysis.add(
                  context, "type-error-star-star", input_node, message=m
              )
          return {}
  
imports: import re
  from parso.python import tree
  from jedi._compatibility import zip_longest
  from jedi import debug
  from jedi.evaluate import analysis
  from jedi.evaluate.lazy_context import LazyKnownContext, LazyKnownContexts, LazyTreeContext, get_merged_lazy_context
  from jedi.evaluate.filters import ParamName
  from jedi.evaluate.base_context import NO_CONTEXTS
  from jedi.evaluate.context import iterable
  from jedi.evaluate.param import get_executed_params, ExecutedParam
label_desc: Use image node_id 6 for calling a global function with example usage: _star_star_dict(context, array, input_node, funcdef) and returns: dict, array, dict