Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Puts data to the beginning of the queue overriding the lock.

src/w/i/wishbone-0.4.10/wishbone/test/testwishbonequeue.py   wishbone(Download)
    def test_rescue(self):
        queue = WishboneQueue()
        queue.lock()
        queue.rescue("test")
        queue.unlock()
    def test_size(self):
        queue = WishboneQueue()
        queue.lock()
        queue.rescue("test")
        assert queue.size() == 1

src/w/i/wishbone-HEAD/wishbone/test/testwishbonequeue.py   wishbone(Download)
    def test_rescue(self):
        queue = WishboneQueue()
        queue.lock()
        queue.rescue("test")
        queue.unlock()
    def test_size(self):
        queue = WishboneQueue()
        queue.lock()
        queue.rescue("test")
        assert queue.size() == 1