(self, item, *args, **kwargs)
| 84 | """ |
| 85 | |
| 86 | def put(self, item, *args, **kwargs): |
| 87 | # unpack item, extract priority |
| 88 | if isinstance(item, concurrent.futures.thread._WorkItem): |
| 89 | item = _PrioritizedWorkItem(item) |
| 90 | else: |
| 91 | item = _PriorityOrderedItem(item) |
| 92 | |
| 93 | super().put(item, *args, **kwargs) |
| 94 | |
| 95 | def get(self, *args, **kwargs): |
| 96 | prioritized_item = super().get(*args, **kwargs) |
no test coverage detected