MCPcopy Index your code
hub / github.com/python/mypy / write

Method write

mypy/dmypy_util.py:107–110  ·  view source on GitHub ↗
(self, output: str)

Source from the content-addressed store, hash-verified

105 raise io.UnsupportedOperation
106
107 def write(self, output: str) -> int:
108 resp: dict[str, Any] = {self.output_key: output}
109 send(self.server, resp)
110 return len(output)
111
112 def writable(self) -> bool:
113 return True

Callers 2

writelinesMethod · 0.95
sendFunction · 0.45

Calls 2

lenFunction · 0.85
sendFunction · 0.70

Tested by

no test coverage detected