Module ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults TupleLoad body Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr NameLoad For NameStore NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr IfExp NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpOr CompareIs AttributeLoad NameLoad attr NameLoad CompareLt NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Return Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad Num body Delete SubscriptDel AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore ListComp NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr CompareGt Call NameLoad NameLoad Num Assign AttributeStore NameLoad attr IfExp NameLoad Call NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return IfExp AttributeLoad NameLoad attr Call NameLoad GeneratorExp Call NameLoad NameLoad comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list decorator_list
N/A PriorityQueue N/A object N/A N/A A priority queue implemented using multiple internal queues (typically,
    FIFO queues). The internal queue must implement the following methods:

        * push(obj)
        * pop()
        * close()
        * __len__()

    The constructor receives a qfactory argument, which is a callable used to
    instantiate a new (internal) queue when a new priority is allocated. The
    qfactory function is called with the priority number as first and only
    argument.

    Only integer priorities should be used. Lower numbers are higher
    priorities.

    startprios is a sequence of priorities to start with. If the queue was
    previously closed leaving some priority buckets non-empty, those priorities
    should be passed in startprios.

     __init__ N/A N/A self qfactory startprios N/A N/A N/A N/A N/A self queues N/A N/A N/A self qfactory qfactory N/A p startprios N/A N/A N/A N/A self queues N/A p N/A N/A self qfactory p N/A N/A self curprio N/A startprios N/A min startprios None N/A push N/A N/A self obj priority N/A 0 N/A N/A N/A priority N/A self queues N/A N/A N/A N/A self queues N/A priority N/A N/A self qfactory priority N/A q N/A N/A self queues N/A priority N/A N/A N/A q push obj N/A N/A N/A N/A self curprio None N/A priority N/A self curprio N/A N/A N/A self curprio priority N/A pop N/A N/A self N/A N/A N/A N/A N/A self curprio None N/A N/A N/A q N/A N/A self queues N/A N/A self curprio N/A m N/A N/A q pop N/A N/A N/A len q 0 N/A N/A N/A N/A self queues N/A N/A self curprio N/A N/A N/A q close N/A prios N/A p N/A N/A p q N/A N/A N/A self queues items N/A N/A len q 0 N/A N/A self curprio N/A prios N/A min prios None N/A m N/A close N/A N/A self N/A N/A N/A active N/A N/A N/A p q N/A N/A N/A self queues items N/A N/A N/A len q N/A N/A N/A N/A active append p N/A N/A N/A q close N/A active N/A __len__ N/A N/A self N/A N/A N/A N/A N/A self queues N/A sum N/A N/A len x N/A x N/A N/A N/A self queues values 0 N/A N/A