'Returns the tail node and removes it from the list.'

def Pop(self):

    if (self.prev is self):
        raise IndexError('Pop    from    empty    list.')
    last_node = self.prev
    self.Unlink(last_node)
    return last_node
