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

Method __init__

tools/python-3.11.9-amd64/Lib/smtplib.py:1084–1088  ·  view source on GitHub ↗

Initialize a new instance.

(self, host='', port=LMTP_PORT, local_hostname=None,
                 source_address=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT)

Source from the content-addressed store, hash-verified

1082 ehlo_msg = "lhlo"
1083
1084 def __init__(self, host='', port=LMTP_PORT, local_hostname=None,
1085 source_address=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
1086 """Initialize a new instance."""
1087 super().__init__(host, port, local_hostname=local_hostname,
1088 source_address=source_address, timeout=timeout)
1089
1090 def connect(self, host='localhost', port=0, source_address=None):
1091 """Connect to the LMTP daemon, on either a Unix or a TCP socket."""

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected