code: def _future_repr_info(future):
      # (Future) -> str
      """helper function for Future.__repr__"""
      info = [future._state.lower()]
      if future._state == _FINISHED:
          if future._exception is not None:
              info.append(f"exception={future._exception!r}")
          else:
              # use reprlib to limit the length of the output, especially
              # for very long strings
              result = reprlib.repr(future._result)
              info.append(f"result={result}")
      if future._callbacks:
          info.append(_format_callbacks(future._callbacks))
      if future._source_traceback:
          frame = future._source_traceback[-1]
          info.append(f"created at {frame[0]}:{frame[1]}")
      return info
  
imports: import reprlib
  from .None import format_helpers
label_desc: Use image node_id 3 for calling a global function with example usage: _future_repr_info(future) and returns: info