def get(self):
        """Get the oldest item off the queue.
        QueueEmpty is raised if no items are left on the queue.
        """
        try:
            return self._queue.pop()
        except IndexError:
            raise QueueEmpty
Get the oldest item off the queue.
        QueueEmpty is raised if no items are left on the queue.
        
recipes/Python/327082_Pseudo_threads_generators/recipe-327082.py