Method summary
- __call__(self)
- __init__(self, default = None)
- back(self)
- bubble(self, o)
- clear(self)
- empty(self)
- forward(self)
- home(self)
- push(self, o)
- remove(self, o)
Methods
- __call__(self)
return the current element, or None
- __init__(self, default = None)
- back(self)
move the position back and return the current element
- bubble(self, o)
raise o to the top of the stack and return o. o must b in the stack
- clear(self)
empty the stack
- empty(self)
- forward(self)
move the position forward and return the current element
- home(self)
push the first element onto the top of the stack
- push(self, o)
push object onto stack at current position - all elements occurring later than the current position are discarded
- remove(self, o)
remove element o from the stack