MCPcopy Create free account
hub / github.com/Vector35/debugger / __setattr__

Method __setattr__

api/python/debuggercontroller.py:179–183  ·  view source on GitHub ↗
(self, name, value)

Source from the content-addressed store, hash-verified

177 return hash((self.name, self.value, self.width. self.index, self.hint))
178
179 def __setattr__(self, name, value):
180 try:
181 object.__setattr__(self, name, value)
182 except AttributeError:
183 raise AttributeError(f"attribute '{name}' is read only")
184
185 def __repr__(self):
186 hint_str = f", {self.hint}" if self.hint != '' else ''

Callers

nothing calls this directly

Calls 1

__setattr__Method · 0.45

Tested by

no test coverage detected