QueueMixinSlow#

class QueueMixinSlow#

Bases: object

Mixin for Queue providing additional functionality.

This mixin only uses put() and pop(). For this reason it can be quite inefficient.

__init__()#

Methods

__init__()

copy()

Return a copy of the queue.

empty()

Return True if the queue is empty.

__iter__()#

Return an iterator through the queue.

__len__()#

Return the length of the queue.

__repr__()#

Return a representation of the queue.

copy()#

Return a copy of the queue.

empty()#

Return True if the queue is empty.