(self)
| 20 | self.priority = priority |
| 21 | |
| 22 | def __repr__(self): |
| 23 | fstr = "PQNode(key={}, val={}, priority={}, entry_id={})" |
| 24 | return fstr.format(self.key, self.val, self.priority, self.entry_id) |
| 25 | |
| 26 | def to_dict(self): |
| 27 | """Return a dictionary representation of the node's contents""" |
nothing calls this directly
no outgoing calls
no test coverage detected