Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/python/mypy
/ write
Method
write
mypy/ipc.py:147–148 ·
view source on GitHub ↗
(self, data: str)
Source
from the content-addressed store, hash-verified
145
return
bdata
146
147
def
write(self, data: str) -> None:
148
self.write_bytes(data.encode(
"utf-8"
))
149
150
def
write_bytes(self, data: bytes) -> None:
151
""
"Write to an IPC connection."
""
Callers
1
send
Function · 0.45
Calls
2
write_bytes
Method · 0.95
encode
Method · 0.80
Tested by
no test coverage detected