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

Method __init__

example_code/item_060.py:145–146  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

143print("Example 10")
144class Grade:
145 def __init__(self):
146 self._value = 0
147
148 def __get__(self, instance, instance_type):
149 return self._value

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected