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

Method __init__

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

Source from the content-addressed store, hash-verified

140
141class SecondClass:
142 def __init__(self, value):
143 self.value = value
144
145second = SecondClass(5)
146first = FirstClass(second)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected