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

Method __init__

example_code/item_055.py:188–189  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

186print("Example 14")
187class ApiClass:
188 def __init__(self):
189 self._value = 5
190
191 def get(self):
192 return self._value

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected