docs: def _inject_closure_values_fix_code(c, injected, **kwargs):
      """
      Fix code objects, recursively fixing any closures
      """
      # Add more closure variables
      c.freevars += injected
  
      # Replace LOAD_GLOBAL with LOAD_DEREF (fetch from closure cells)
      # for named variables
      for i, (opcode, value) in enumerate(c.code):
          if opcode == byteplay.LOAD_GLOBAL and value in kwargs:
              c.code[i] = byteplay.LOAD_DEREF, value
  
      _inject_closure_values_fix_closures(c, injected, **kwargs)
  
      return c