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

Method open

Lib/imaplib.py:1648–1654  ·  view source on GitHub ↗

Setup connection to remote server on "host:port". (default: localhost:standard IMAP4 SSL port). This connection will be used by the routines: read, readline, send, shutdown.

(self, host='', port=IMAP4_SSL_PORT, timeout=None)

Source from the content-addressed store, hash-verified

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".
1650 (default: localhost:standard IMAP4 SSL port).
1651 This connection will be used by the routines:
1652 read, readline, send, shutdown.
1653 """
1654 IMAP4.open(self, host, port, timeout)
1655
1656 __all__.append("IMAP4_SSL")
1657

Callers

nothing calls this directly

Calls 1

openMethod · 0.45

Tested by

no test coverage detected