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

Class Stack

Simple implementation of stack using a Python list.

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