def _put(self, item, priority):
        """Put a new item in the queue"""
        self._queues[priority].append(item)
        self._len += 1
Put a new item in the queue
recipes/Python/87707_Scheduled_Queue/recipe-87707.py