how to implement a queue-like container with sort function

iMath redstone-cold at 163.com
Fri Nov 29 07:33:40 EST 2013


it seems  PriorityQueue satisfy my requirement here .

BTW ,the Queue object has an attribute 'queue' ,but I cannot find it described in the DOC ,what it means ?



More information about the Python-list mailing list