(self)
return self.priority_queue_list.pop().data
Remove and return the item with the lowest priority.
Remove and return the item with the lowest priority.
Remove and return the item with the lowest priority .
def pop(self):
        """Remove and return the item with the lowest priority.
        """
        # remove and return the first node from the queue
        return self.priority_queue_list.pop().data
def pop ( self ) : # remove and return the first node from the queue return self . priority_queue_list . pop ( ) . data