Trees
Indices
Help
6.01
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
)
Trees
Indices
Help
6.01
Generated by Epydoc 3.0.1 on Tue Apr 26 17:51:16 2011
http://epydoc.sourceforge.net