Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ evaluate
Method
evaluate
example_code/item_049.py:186–189 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
184
self.right = right
185
186
def
evaluate(self):
187
left = self.left.evaluate()
188
right = self.right.evaluate()
189
return
left + right
190
191
192
def
pretty(self):
Callers
nothing calls this directly
Calls
1
evaluate
Method · 0.45
Tested by
no test coverage detected