'remove element *o* from the stack'

def remove(self, o):

    if (o not in self._elements):
        raise ValueError(u'Unknown    element    o')
    old = self._elements[:]
    self.clear()
    for thiso in old:
        if (thiso == o):
            continue
        else:
            self.push(thiso)
