Trees
Indices
Help
6.01
Module search
:: Class Queue
[
frames
] |
no frames
]
Class Queue
Simple implementation of queue using a Python list.
Instance Methods
__init__
(
self
)
Create a new empty queue
push
(
self
,
item
)
Push
item
onto the queue.
pop
(
self
)
Return the oldest item that has not yet been popped, and removes it from the queue.
isEmpty
(
self
)
Returns
True
if the queue 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