Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ close
Method
close
Lib/test/test_socket.py:7506–7508 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
7504
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
7505
7506
def
close():
7507
for
_ in range(1000):
7508
s.close()
7509
7510
def
detach():
7511
for
_ in range(1000):
Callers
15
_have_socket_can
Function · 0.45
_have_socket_can_isotp
Function · 0.45
_have_socket_can_j1939
Function · 0.45
_have_socket_rds
Function · 0.45
_have_socket_alg
Function · 0.45
_have_socket_qipcrtr
Function · 0.45
_have_socket_bluetooth
Function · 0.45
_have_socket_bluetooth_l2cap
Function · 0.45
_have_socket_hyperv
Function · 0.45
tearDown
Method · 0.45
tearDown
Method · 0.45
clientTearDown
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected