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

Method __init__

example_code/item_053.py:129–131  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

127
128class PlusNineCorrect(MyBaseClass):
129 def __init__(self, value):
130 super().__init__(value)
131 self.value += 9
132
133
134print("Example 10")

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected