MCPcopy Index your code
hub / github.com/RustPython/RustPython / __exit__

Method __exit__

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

Source from the content-addressed store, hash-verified

2068 return self
2069
2070 def __exit__(self, *exc):
2071 self.close()
2072
2073 def readable(self):
2074 return self._file.readable()

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected