MCPcopy 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

sendFunction · 0.45

Calls 2

write_bytesMethod · 0.95
encodeMethod · 0.80

Tested by

no test coverage detected