Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ __exit__
Method
__exit__
Lib/os.py:1060–1061 ·
view source on GitHub ↗
(self, *args)
Source
from the content-addressed store, hash-verified
1058
def
__enter__(self):
1059
return
self
1060
def
__exit__(self, *args):
1061
self.close()
1062
def
__getattr__(self, name):
1063
return
getattr(self._stream, name)
1064
def
__iter__(self):
Callers
nothing calls this directly
Calls
1
close
Method · 0.95
Tested by
no test coverage detected