MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _create_socket

Method _create_socket

tools/python-3.11.9-amd64/Lib/imaplib.py:1325–1328  ·  view source on GitHub ↗
(self, timeout)

Source from the content-addressed store, hash-verified

1323 IMAP4.__init__(self, host, port, timeout)
1324
1325 def _create_socket(self, timeout):
1326 sock = IMAP4._create_socket(self, timeout)
1327 return self.ssl_context.wrap_socket(sock,
1328 server_hostname=self.host)
1329
1330 def open(self, host='', port=IMAP4_SSL_PORT, timeout=None):
1331 """Setup connection to remote server on "host:port".

Callers

nothing calls this directly

Calls 2

_create_socketMethod · 0.45
wrap_socketMethod · 0.45

Tested by

no test coverage detected