(self, timeout)
| 396 | self._close() |
| 397 | |
| 398 | def _create_socket(self, timeout): |
| 399 | if timeout is not None and not timeout: |
| 400 | raise ValueError('Non-blocking socket (timeout=0) is not supported') |
| 401 | sys.audit("nntplib.connect", self, self.host, self.port) |
| 402 | return socket.create_connection((self.host, self.port), timeout) |
| 403 | |
| 404 | def getwelcome(self): |
| 405 | """Get the welcome message from the server |
no test coverage detected