txpoloniex/queue.py
def clear(self):
        """
        Cancel all pending calls and flush state
        """
        
        for d in self.waiting:
            self._cancel(d)

        for d in self._expirations:
            d.cancel()

        self._times = []
        self._expirations = []

        Cancel all pending calls and flush state
        
Cancel all pending calls and flush state
Cancel all pending calls and flush state
def clear(self):
        for d in self.waiting:
            self._cancel(d)
        for d in self._expirations:
            d.cancel()
        self._times = []
        self._expirations = []
def clear ( self ) : for d in self . waiting : self . _cancel ( d ) for d in self . _expirations : d . cancel ( ) self . _times = [ ] self . _expirations = [ ]
Cancel all pending calls and flush state
Cancel all pending calls and flush state
"""
        Cancel all pending calls and flush state
        """
self