(self, other)
| 49 | return self.priority < other.priority |
| 50 | |
| 51 | def __le__(self, other): |
| 52 | if not isinstance(other, PQNode): |
| 53 | return -1 |
| 54 | return self.priority <= other.priority |
| 55 | |
| 56 | |
| 57 | class PriorityQueue: |
nothing calls this directly
no outgoing calls
no test coverage detected