(&self, Fildes(fd): Fildes, vm: &VirtualMachine)
| 480 | |
| 481 | #[pymethod] |
| 482 | fn unregister(&self, Fildes(fd): Fildes, vm: &VirtualMachine) -> PyResult<()> { |
| 483 | let removed = remove_fd(&mut self.fds.lock(), fd); |
| 484 | removed |
| 485 | .map(drop) |
| 486 | .ok_or_else(|| vm.new_key_error(vm.ctx.new_int(fd).into())) |
| 487 | } |
| 488 | |
| 489 | #[pymethod] |
| 490 | fn poll( |
nothing calls this directly
no test coverage detected