(self)
| 1412 | class DualStackServerMixin: |
| 1413 | |
| 1414 | def server_bind(self): |
| 1415 | # suppress exception when protocol is IPv4 |
| 1416 | with contextlib.suppress(Exception): |
| 1417 | self.socket.setsockopt( |
| 1418 | socket.IPPROTO_IPV6, socket.IPV6_V6ONLY, 0) |
| 1419 | return super().server_bind() |
| 1420 | |
| 1421 | def finish_request(self, request, client_address): |
| 1422 | self.RequestHandlerClass(request, client_address, self, |
nothing calls this directly
no test coverage detected