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

Method __init__

example_code/item_124.py:138–139  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

136print("Example 11")
137class FirstClass:
138 def __init__(self, value):
139 self.value = value
140
141class SecondClass:
142 def __init__(self, value):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected