Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ accept
Method
accept
Lib/test/mock_socket.py:77–79 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
75
pass
76
77
def
accept(self):
78
self.conn = MockSocket()
79
return
self.conn,
'c'
80
81
def
getsockname(self):
82
return
(
'0.0.0.0'
, 0)
Callers
15
_connected_pair
Method · 0.45
_run_remote_exec_test
Method · 0.45
run
Method · 0.45
listener
Method · 0.45
serve
Method · 0.45
run
Method · 0.45
get_request
Method · 0.45
setUp
Method · 0.45
setUp
Method · 0.45
setUp
Method · 0.45
setUp
Method · 0.45
testClose
Method · 0.45
Calls
1
MockSocket
Class · 0.70
Tested by
15
_connected_pair
Method · 0.36
_run_remote_exec_test
Method · 0.36
run
Method · 0.36
listener
Method · 0.36
serve
Method · 0.36
run
Method · 0.36
get_request
Method · 0.36
setUp
Method · 0.36
setUp
Method · 0.36
setUp
Method · 0.36
setUp
Method · 0.36
testClose
Method · 0.36