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

Method __exit__

Lib/mailbox.py:2077–2078  ·  view source on GitHub ↗
(self, *exc)

Source from the content-addressed store, hash-verified

2075 return self
2076
2077 def __exit__(self, *exc):
2078 self.close()
2079
2080 def readable(self):
2081 return self._file.readable()

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected