MCPcopy Index your code
hub / github.com/ipython/ipython / __exit__

Method __exit__

IPython/utils/tempdir.py:41–42  ·  view source on GitHub ↗
(self, type: Optional[Type[BaseException]], value: Optional[BaseException], traceback: Optional[TracebackType])

Source from the content-addressed store, hash-verified

39 return self.file
40
41 def __exit__(self, type: Optional[Type[BaseException]], value: Optional[BaseException], traceback: Optional[TracebackType]):
42 self.cleanup()
43
44
45class TemporaryWorkingDirectory(TemporaryDirectory):

Callers

nothing calls this directly

Calls 1

cleanupMethod · 0.95

Tested by

no test coverage detected