MCPcopy Create free account
hub / github.com/ddbourgin/numpy-ml / __repr__

Method __repr__

numpy_ml/utils/data_structures.py:86–88  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

84 self._entry_counter = 0
85
86 def __repr__(self):
87 fstr = "PriorityQueue(capacity={}, heap_order={}) with {} items"
88 return fstr.format(self.capacity, self.heap_order, self._count)
89
90 def __len__(self):
91 return self._count

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected