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

Method __exit__

Lib/_pyio.py:484–486  ·  view source on GitHub ↗

Context management protocol. Calls close()

(self, *args)

Source from the content-addressed store, hash-verified

482 return self
483
484 def __exit__(self, *args):
485 """Context management protocol. Calls close()"""
486 self.close()
487
488 ### Lower-level APIs ###
489

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected