(self, future)
| 83 | self.event.set() |
| 84 | |
| 85 | def add_cancelled(self, future): |
| 86 | with self.lock: |
| 87 | super(_AsCompletedWaiter, self).add_cancelled(future) |
| 88 | self.event.set() |
| 89 | |
| 90 | class _FirstCompletedWaiter(_Waiter): |
| 91 | """Used by wait(return_when=FIRST_COMPLETED).""" |
nothing calls this directly
no test coverage detected