Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ write
Method
write
Lib/socketserver.py:841–844 ·
view source on GitHub ↗
(self, b)
Source
from the content-addressed store, hash-verified
839
return
True
840
841
def
write(self, b):
842
self._sock.sendall(b)
843
with
memoryview(b)
as
view:
844
return
view.nbytes
845
846
def
fileno(self):
847
return
self._sock.fileno()
Callers
nothing calls this directly
Calls
1
sendall
Method · 0.45
Tested by
no test coverage detected