MCPcopy Create free account
hub / github.com/ipython/ipython / cleanup

Method cleanup

IPython/utils/tempdir.py:28–30  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

26 self.file = open(path, mode, bufsize)
27
28 def cleanup(self):
29 self.file.close()
30 self._tmpdir.cleanup()
31
32 __del__ = cleanup
33

Callers 3

__exit__Method · 0.95
tearDownClassMethod · 0.45
tearDownMethod · 0.45

Calls 1

closeMethod · 0.45

Tested by 2

tearDownClassMethod · 0.36
tearDownMethod · 0.36