(self, future)
| 89 | self.event.set() |
| 90 | |
| 91 | def add_cancelled(self, future): |
| 92 | with self.lock: |
| 93 | super(_AsCompletedWaiter, self).add_cancelled(future) |
| 94 | self.event.set() |
| 95 | |
| 96 | class _FirstCompletedWaiter(_Waiter): |
| 97 | """Used by wait(return_when=FIRST_COMPLETED).""" |
nothing calls this directly
no test coverage detected