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

Method __init__

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

Source from the content-addressed store, hash-verified

50print("Example 1")
51class MyBaseClass:
52 def __init__(self, value):
53 self.value = value
54
55class MyChildClass(MyBaseClass):
56 def __init__(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected