Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ IntegerNode
Class
IntegerNode
example_code/item_049.py:104–109 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
102
103
print(
"Example 7"
)
104
class
IntegerNode(Node):
105
def
__init__(self, value):
106
self.value = value
107
108
def
evaluate(self):
109
return
self.value
110
111
112
print(
"Example 8"
)
Callers
1
item_049.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected