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

Method socket

Lib/imaplib.py:434–439  ·  view source on GitHub ↗

Return socket instance used to connect to IMAP4 server. socket = .socket()

(self)

Source from the content-addressed store, hash-verified

432
433
434 def socket(self):
435 """Return socket instance used to connect to IMAP4 server.
436
437 socket = <instance>.socket()
438 """
439 return self.sock
440
441
442

Callers 15

connectMethod · 0.80
__init__Method · 0.80
_get_accept_socketMethod · 0.80
create_unix_serverMethod · 0.80
_connect_sockMethod · 0.80
create_serverMethod · 0.80
makeSocketMethod · 0.80
makeSocketMethod · 0.80
_connect_unixsocketMethod · 0.80
createSocketMethod · 0.80

Calls

no outgoing calls

Tested by 15

_create_server_socketFunction · 0.64
_connected_pairMethod · 0.64
test_socketFunction · 0.64
_run_remote_exec_testMethod · 0.64
test_private_initMethod · 0.64
test_refcycleMethod · 0.64
test_timeoutMethod · 0.64
bad_cert_testMethod · 0.64
test_server_sideMethod · 0.64