(self)
Initializes the future. Should not be called by clients.
Initializes the future. Should not be called by clients.
Initializes the future . Should not be called by clients .
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 = []
def __init__ ( self ) : self . _condition = threading . Condition ( ) self . _state = PENDING self . _result = None self . _exception = None self . _waiters = [ ] self . _done_callbacks = [ ]