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

Method __exit__

Lib/profiling/sampling/binary_reader.py:35–39  ·  view source on GitHub ↗
(self, exc_type, exc_val, exc_tb)

Source from the content-addressed store, hash-verified

33 return self
34
35 def __exit__(self, exc_type, exc_val, exc_tb):
36 if self._reader is not None:
37 self._reader.close()
38 self._reader = None
39 return False
40
41 def get_info(self):
42 """Get metadata about the binary file.

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected