how to implement a queue-like container with sort function

iMath redstone-cold at 163.com
Fri Nov 29 13:33:40 CET 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