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

Method __init__

example_code/item_061.py:165–166  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

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})")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected