MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / __exit__

Method __exit__

tools/webassembly.py:215–218  ·  view source on GitHub ↗
(self, _exc_type, _exc_val, _exc_tb)

Source from the content-addressed store, hash-verified

213 return self
214
215 def __exit__(self, _exc_type, _exc_val, _exc_tb):
216 if self.buf:
217 self.buf.close()
218 self.buf = None
219
220 def read_at(self, offset, count):
221 self.buf.seek(offset)

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected