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

Method __init__

example_code/item_050.py:69–71  ·  view source on GitHub ↗
(self, left, right)

Source from the content-addressed store, hash-verified

67
68class AddNodeAlt(NodeAlt):
69 def __init__(self, left, right):
70 self.left = left
71 self.right = right
72
73 def evaluate(self):
74 left = self.left.evaluate()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected