code: def reduce_code(co):
      args = [
          co.co_argcount,
          co.co_nlocals,
          co.co_stacksize,
          co.co_flags,
          co.co_code,
          co.co_consts,
          co.co_names,
          co.co_varnames,
          co.co_filename,
          co.co_name,
          co.co_firstlineno,
          co.co_lnotab,
          co.co_freevars,
          co.co_cellvars,
      ]
      if sys.version_info[0] >= 3:
          args.insert(1, co.co_kwonlyargcount)
      return code_ctor, tuple(args)
  
imports: import warnings
  import sys
  import types
label_desc: Use image node_id 2 for calling a global function with example usage: reduce_code(co) and returns: code_ctor,  tuple