code: def create_simple_object(evaluator, obj):
      """
      Only allows creations of objects that are easily picklable across Python
      versions.
      """
      assert isinstance(
          obj, (int, float, str, bytes, unicode, slice, complex)
      )
      return create_from_access_path(
          evaluator,
          evaluator.compiled_subprocess.create_simple_object(obj),
      )
  
imports: from jedi._compatibility import unicode
  from jedi.evaluate.compiled.context import CompiledObject, CompiledName, CompiledObjectFilter, CompiledContextName, create_from_access_path, create_from_name
label_desc: Use image node_id 2 for calling a global function with example usage: create_simple_object(evaluator, obj) and returns: create_from_access_path