MCPcopy Index your code
hub / github.com/RustPython/RustPython / _create_socket

Method _create_socket

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

Source from the content-addressed store, hash-verified

1641 IMAP4.__init__(self, host, port, timeout)
1642
1643 def _create_socket(self, timeout):
1644 sock = IMAP4._create_socket(self, timeout)
1645 return self.ssl_context.wrap_socket(sock,
1646 server_hostname=self.host)
1647
1648 def open(self, host='', port=IMAP4_SSL_PORT, timeout=None):
1649 """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