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

Method __enter__

tools/webassembly.py:212–213  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

210 assert not self.buf, '`__exit__` should have already been called, please use context manager'
211
212 def __enter__(self):
213 return self
214
215 def __exit__(self, _exc_type, _exc_val, _exc_tb):
216 if self.buf:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected