Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/ipython
/ __enter__
Method
__enter__
IPython/utils/tempdir.py:34–35 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
32
__del__ = cleanup
33
34
def
__enter__(self):
35
return
self.file
36
37
def
__exit__(self, type, value, traceback):
38
self.cleanup()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected