MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / BrokenDictionaryRecord

Class BrokenDictionaryRecord

example_code/item_061.py:164–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162
163print("Example 10")
164class BrokenDictionaryRecord:
165 def __init__(self, data):
166 self._data = data
167
168 def __getattribute__(self, name):
169 print(f"* Called __getattribute__({name!r})")
170 return self._data[name]
171
172
173print("Example 11")

Callers 1

item_061.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected