(trans, key, ov)
| 459 | |
| 460 | @staticmethod |
| 461 | def finish_socket_func(trans, key, ov): |
| 462 | try: |
| 463 | return ov.getresult() |
| 464 | except OSError as exc: |
| 465 | if exc.winerror in (_overlapped.ERROR_NETNAME_DELETED, |
| 466 | _overlapped.ERROR_OPERATION_ABORTED): |
| 467 | raise ConnectionResetError(*exc.args) |
| 468 | else: |
| 469 | raise |
| 470 | |
| 471 | @classmethod |
| 472 | def _finish_recvfrom(cls, trans, key, ov, *, empty_result): |
no test coverage detected