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

Method __getitem__

tools/settings.py:428–429  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

426 exit_with_error(f'setting `{name}` expects `{expected_type.__name__}` but got `{type(value).__name__}`')
427
428 def __getitem__(self, key):
429 return self.attrs[key]
430
431 def __setitem__(self, key, value):
432 self.attrs[key] = value

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected