Module search :: Class Stack
[frames] | no frames]

Class Stack

Simple implementation of stack using a Python list.

Instance Methods
 
__init__(self)
Create a new empty stack
 
push(self, item)
Push item onto the stack.
 
pop(self)
Return the most recently pushed item that has not yet been popped, and removes it from the stack.
 
isEmpty(self)
Returns True if the stack is empty and False otherwise.
 
__str__(self)