MCPcopy Index your code
hub / github.com/python/cpython / _create_socket

Method _create_socket

Lib/imaplib.py:1642–1645  ·  view source on GitHub ↗
(self, timeout)

Source from the content-addressed store, hash-verified

1640 IMAP4.__init__(self, host, port, timeout)
1641
1642 def _create_socket(self, timeout):
1643 sock = IMAP4._create_socket(self, timeout)
1644 return self.ssl_context.wrap_socket(sock,
1645 server_hostname=self.host)
1646
1647 def open(self, host='', port=IMAP4_SSL_PORT, timeout=None):
1648 """Setup connection to remote server on "host:port".

Callers

nothing calls this directly

Calls 2

wrap_socketMethod · 0.80
_create_socketMethod · 0.45

Tested by

no test coverage detected