code: def _make_skel_func(code, cell_count, base_globals=None):
      
      if base_globals is None:
          base_globals = {}
      base_globals['__builtins__'] = __builtins__
  
      closure = (
          tuple(_make_empty_cell() for _ in range(cell_count))
          if cell_count >= 0 else
          None
      )
      return types.FunctionType(code, base_globals, None, None, closure)
docs: Creates a skeleton function object that contains just the provided
          code and the correct number of cells in func_closure.  All other
          func attributes (e.g. func_globals) are empty.