

def dequeue(self):
    if (self.front is None):
        raise ValueError()
    else:
        front_node = self.front
        self.front = self.front.next
        self.size -= 1
        return self.data

dataset/ETHPy150Open QuantumFractal/Data-Structure-Zoo/6-Queue/queue.py Queue.dequeue/VarMisuse@54/61 `front_node`->`self`