Queue peek?

Gregory Ewing greg.ewing at canterbury.ac.nz
Thu Mar 4 05:49:57 EST 2010


Floris Bruynooghe wrote:
> I was just wondering if
> other people ever missed the "q.put_at_front_of_queue()" method or if
> it is just me.

Sounds like you don't want a queue, but a stack. Or
maybe a double-ended queue.

-- 
Greg



More information about the Python-list mailing list