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

Method evaluate

example_code/item_050.py:89–92  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

87 self.right = right
88
89 def evaluate(self):
90 left = self.left.evaluate()
91 right = self.right.evaluate()
92 return left + right
93
94 def pretty(self):
95 left_str = self.left.pretty()

Callers

nothing calls this directly

Calls 1

evaluateMethod · 0.45

Tested by

no test coverage detected