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

Method __init__

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

Source from the content-addressed store, hash-verified

50print("Example 1")
51class Integer:
52 def __init__(self, value):
53 self.value = value
54
55class Add:
56 def __init__(self, left, right):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected