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

Method __exit__

Lib/tempfile.py:764–765  ·  view source on GitHub ↗
(self, exc, value, tb)

Source from the content-addressed store, hash-verified

762 return self
763
764 def __exit__(self, exc, value, tb):
765 self._file.close()
766
767 # file protocol
768 def __iter__(self):

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected