code: def loadIO(buffer, **kwds):
      """load an object that was stored with dill.temp.dumpIO
  
      buffer: buffer object
  
      >>> dumpfile = dill.temp.dumpIO([1, 2, 3, 4, 5])
      >>> dill.temp.loadIO(dumpfile)
      [1, 2, 3, 4, 5]
      """
      import dill as pickle
      from io import BytesIO as StringIO
  
      value = getattr(
          buffer, "getvalue", buffer
      )  # value or buffer.getvalue
      if value != buffer:
          value = value()  # buffer.getvalue()
      return pickle.load(StringIO(value))
  
file_path: dill/dill/temp.py
imports: import contextlib
label_desc: Use image node_id 7 for calling a global function with example usage: loadIO(buffer) and returns: pickle