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

Method write

Lib/test/test_remote_pdb.py:44–46  ·  view source on GitHub ↗

Simulate write to socket.

(self, data: bytes)

Source from the content-addressed store, hash-verified

42 self.output_buffer = []
43
44 def write(self, data: bytes) -> None:
45 """Simulate write to socket."""
46 self.output_buffer.append(data)
47
48 def flush(self) -> None:
49 """No-op flush implementation."""

Callers 4

_create_scriptMethod · 0.45
_send_commandMethod · 0.45
test_handle_eofMethod · 0.45
_create_scriptMethod · 0.45

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected