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

Method __init__

mypy/ipc.py:66–70  ·  view source on GitHub ↗
(self, name: str, timeout: float | None)

Source from the content-addressed store, hash-verified

64 connection: _IPCHandle
65
66 def __init__(self, name: str, timeout: float | None) -> None:
67 self.name = name
68 self.timeout = timeout
69 self.message_size: int | None = None
70 self.buffer = bytearray()
71
72 def frame_from_buffer(self) -> bytes | None:
73 """Return a full frame from the bytes we have in the buffer."""

Callers 2

__init__Method · 0.45
__init__Method · 0.45

Calls 1

bytearrayClass · 0.85

Tested by

no test coverage detected