code: def _safebuiltins():
      
  
      result = {}
  
      objectnames = [
          objectname for objectname in dir(builtins)
          if objectname not in BUILTIN_IO_PROPS
      ]
  
      for objectname in objectnames:
          result[objectname] = getattr(builtins, objectname)
  
      return result
docs: Construct a safe builtin environment without I/O functions.
  
      :rtype: dict