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

Method __init__

Lib/imaplib.py:1635–1640  ·  view source on GitHub ↗
(self, host='', port=IMAP4_SSL_PORT,
                     *, ssl_context=None, timeout=None)

Source from the content-addressed store, hash-verified

1633
1634
1635 def __init__(self, host='', port=IMAP4_SSL_PORT,
1636 *, ssl_context=None, timeout=None):
1637 if ssl_context is None:
1638 ssl_context = ssl._create_stdlib_context()
1639 self.ssl_context = ssl_context
1640 IMAP4.__init__(self, host, port, timeout)
1641
1642 def _create_socket(self, timeout):
1643 sock = IMAP4._create_socket(self, timeout)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected