A generic node object for holding entries in :class:`PriorityQueue`
(self, key, val, priority, entry_id, **kwargs)
| 13 | |
| 14 | class PQNode(object): |
| 15 | def __init__(self, key, val, priority, entry_id, **kwargs): |
| 16 | """A generic node object for holding entries in :class:`PriorityQueue`""" |
| 17 | self.key = key |
| 18 | self.val = val |
| 19 | self.entry_id = entry_id |
| 20 | self.priority = priority |
| 21 | |
| 22 | def __repr__(self): |
| 23 | fstr = "PQNode(key={}, val={}, priority={}, entry_id={})" |
nothing calls this directly
no outgoing calls
no test coverage detected