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

Method __exit__

mypy/ipc.py:232–238  ·  view source on GitHub ↗
(
        self,
        exc_ty: type[BaseException] | None = None,
        exc_val: BaseException | None = None,
        exc_tb: TracebackType | None = None,
    )

Source from the content-addressed store, hash-verified

230 return self
231
232 def __exit__(
233 self,
234 exc_ty: type[BaseException] | None = None,
235 exc_val: BaseException | None = None,
236 exc_tb: TracebackType | None = None,
237 ) -> None:
238 self.close()
239
240
241class IPCServer(IPCBase):

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected