class_docstr: Represents the result of an asynchronous computation.
class_docstr_tok: ["Represents","the","result","of","an","asynchronous","computation","."]
docstr: Initializes the future. Should not be called by clients.
docstr_tok: ["Initializes","the","future",".","Should","not","be","called","by","clients","."]
code: def __init__(self):
      """Initializes the future. Should not be called by clients."""
      self._condition = threading.Condition()
      self._state = PENDING
      self._result = None
      self._exception = None
      self._waiters = []
      self._done_callbacks = []
  
imports: import collections
  import logging
  import threading
  import time
  import types
label_desc: Use image node_id 1 to create a new Future object from inherited base classes: object with example: obj = Future()