(self)
Return True if the future was cancelled.
Return True if the future was cancelled.
Return True if the future was cancelled .
def cancelled(self):
        """Return True if the future was cancelled."""
        with self._condition:
            return self._state in [CANCELLED, CANCELLED_AND_NOTIFIED]
def cancelled ( self ) : with self . _condition : return self . _state in [ CANCELLED , CANCELLED_AND_NOTIFIED ]