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

Method __init__

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

Source from the content-addressed store, hash-verified

101
102class PlusNine(MyBaseClass):
103 def __init__(self, value):
104 MyBaseClass.__init__(self, value)
105 self.value += 9
106
107
108print("Example 8")

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected