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

Method __init__

example_code/item_049.py:124–126  ·  view source on GitHub ↗
(self, left, right)

Source from the content-addressed store, hash-verified

122
123class MultiplyNode(Node):
124 def __init__(self, left, right):
125 self.left = left
126 self.right = right
127
128 def evaluate(self):
129 left = self.left.evaluate()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected