(self, st)
Initialise queue from pickling dict.
Initialise queue from pickling dict.
Initialise queue from pickling dict .
def __setstate__(self, st):
        """Initialise queue from pickling dict."""
        offset = datetime.datetime.now() - st['now']
        self._deque = deque((item, expiry+offset, counts) for (item, expiry, counts) in st['deque'])
def __setstate__ ( self , st ) : offset = datetime . datetime . now ( ) - st [ 'now' ] self . _deque = deque ( ( item , expiry + offset , counts ) for ( item , expiry , counts ) in st [ 'deque' ] )