Queue.LifoQueue.get_nowait

LifoQueue.get_nowait()

Remove and return an item from the queue without blocking.

Only get an item if one is immediately available. Otherwise raise the Empty exception.