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

Method __init__

example_code/item_061.py:87–88  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

85print("Example 4")
86class ValidatingRecord:
87 def __init__(self):
88 self.exists = 5
89
90 def __getattribute__(self, name):
91 print(f"* Called __getattribute__({name!r})")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected